gdbserver ported ?

Hi All,

has someone ported the gdbserver of GDB to QNX6?

Armin

Armin Steinhoff <A-Steinhoff@web_.de> wrote:

Hi All,

has someone ported the gdbserver of GDB to QNX6?

Not to my knowledge.


cburgess@qnx.com

cburgess@qnx.com wrote:

Armin Steinhoff <A-Steinhoff@web_.de> wrote:

Hi All,

has someone ported the gdbserver of GDB to QNX6?

Not to my knowledge.

Is it possible to use ‘pdebug’ instead??

Armin



cburgess@qnx.com

Armin Steinhoff <A-Steinhoff@web_.de> wrote:


cburgess@qnx.com > wrote:

Armin Steinhoff <A-Steinhoff@web_.de> wrote:

Hi All,

has someone ported the gdbserver of GDB to QNX6?

Not to my knowledge.

Is it possible to use ‘pdebug’ instead??

What are you trying to do? Are you trying to debug on a remote
target? If so, the run pdebug on the target, and connect
to it with gdb

eg, on target

pdebug /dev/ser2,115200 &

eg on host

(gdb) set remotebaud 115200
(gdb) target qnx /dev/ser1

or

pdebug 8000 &

(gdb) target qnx remote_target:8000


cburgess@qnx.com

Colin Burgess wrote:

Armin Steinhoff <A-Steinhoff@web_.de> wrote:

cburgess@qnx.com > wrote:

Armin Steinhoff <A-Steinhoff@web_.de> wrote:

Hi All,

has someone ported the gdbserver of GDB to QNX6?

Not to my knowledge.

Is it possible to use ‘pdebug’ instead??

What are you trying to do? Are you trying to debug on a remote
target?

Yes … that’s what I trying to do.

If so, the run pdebug on the target, and connect
to it with gdb

You are talking about the gdb provided for QNX4?
If not … is it possible to use the LINUX gdb
running on a LINUX machine?
If so … I have a running DDD :slight_smile:
If not … is it possible to port the sources of
QNX4 version of gdb to LINUX?

eg, on target

pdebug /dev/ser2,115200 &

eg on host

(gdb) set remotebaud 115200
(gdb) target qnx /dev/ser1

or

pdebug 8000 &

(gdb) target qnx remote_target:8000

Seems to me that ‘qdebug’ is a port of the
‘gdbserver’ :slight_smile:

Armin

Armin Steinhoff wrote:

You are talking about the gdb provided for QNX4?
If not … is it possible to use the LINUX gdb
running on a LINUX machine?
If so … I have a running DDD > :slight_smile:
If not … is it possible to port the sources of
QNX4 version of gdb to LINUX?

Why would you want to do that, Armin? There are gdb and ddd and Xlibs
for Neutrino, so just run gdb+ddd right on target and export your
display to Linux … It is less complicated and works better anyway. To
let gdb see source files, export them by NFS and mount it from target
simulating the same source path as on your Linux development system.

  • igor

What are you trying to do? Are you trying to debug on a remote
target?

Yes … that’s what I trying to do.

If so, the run pdebug on the target, and connect
to it with gdb

You are talking about the gdb provided for QNX4?

This is possible with the QNX4 gdb and the RTP gdb.

If not … is it possible to use the LINUX gdb
running on a LINUX machine?
If so … I have a running DDD > :slight_smile:

You also have one under QNX RTP. :vb

If not … is it possible to port the sources of
QNX4 version of gdb to LINUX?

If you want to use it under GNU/Linux, then get our mods from

ftp://ftp.qnx.com/usr/free/neutrino/development/gnu/gdb-4.17-qnx.tgz

PS - You should never refer to Linux - it’s GNU/Linux. Otherwise
RMS will get verry verry ticked off at you.

And we don’t want that.

No sir! Indeed we don’t!


cburgess@qnx.com

Colin Burgess wrote:

What are you trying to do? Are you trying to debug on a remote
target?

Yes … that’s what I trying to do.

If so, the run pdebug on the target, and connect
to it with gdb

You are talking about the gdb provided for QNX4?

This is possible with the QNX4 gdb and the RTP gdb.

If not … is it possible to use the LINUX gdb
running on a LINUX machine?
If so … I have a running DDD > :slight_smile:

You also have one under QNX RTP. :vb

I’ve tried to use it … seems to be very unstable
and
incompletely ported.

If not … is it possible to port the sources of
QNX4 version of gdb to LINUX?

If you want to use it under GNU/Linux, then get our mods from

ftp://ftp.qnx.com/usr/free/neutrino/development/gnu/gdb-4.17-qnx.tgz

Not available in the moment … I will use it when
the ftp
server is working again.

PS - You should never refer to Linux - it’s GNU/Linux.

I mean that LINUX from Linus :slight_smile:

Otherwise RMS will get verry verry ticked off at you.

RMS? You mean that guy who wrote in one of his
white
papers … 'I got magically paid for my software
work … ’ ?
IMHO … he is not from our world and he must
reasons
to think so :slight_smile:

And we don’t want that.
No sir! Indeed we don’t!

Hmmm … is he so annoying?

Armin

Igor Kovalenko wrote:

Armin Steinhoff wrote:

You are talking about the gdb provided for QNX4?
If not … is it possible to use the LINUX gdb
running on a LINUX machine?
If so … I have a running DDD > :slight_smile:
If not … is it possible to port the sources of
QNX4 version of gdb to LINUX?


Why would you want to do that, Armin?

I’m just collection together parts for an useful
development environment :slight_smile:

There are gdb and ddd and Xlibs
for Neutrino,

Apps running XPhoton are just useless for systems
without a US keyboard … I have here lots of dead
keys. It’s a pitty, I can’t use e.g. Nedit and
gvim … it is realy frustrating.

so just run gdb

… it has the elegance of a prehistoric ‘stone
wedge’ … very useful, but not in our time :slight_smile:
I’m not interested in retrograde tools …

ddd right on target
and export your display to Linux … It is less complicated and works better anyway.

Yes … if it would run flawless on the target.
What about the dead keys of my German keyboard?

To
let gdb see source files, export them by NFS and mount it from target
simulating the same source path as on your Linux development system.

BTW … NFS. It has an annoying bug. When I copy
e.g. a directory from a LINUX or QNX4 client to
QNX6 … then it doesn’t show up at the mounted
fs. It show up only after a restart of the NFS
server at the QNX6 machine =:-/.

Greetings

Armin