debugging

I have been developing qnx4 for years and wanted to play a bit with
qnx6, and found a dusty dvd which my company bought a while back and
loaded it up on a vmware virtual disk on my Linux box, x86 platform.

Most of my target OS systems, including qnx4, now reside simply on a
vmware virtual disk.

I have got all the NFS stuff and open-ssh stuff winken and blinken have
quite and acceptable development environment with kate and ssh from my
Linux box.

And now the question turns of course to debugging. I am a pretty simple
guy, but not simple enough to want to use gdb from a command line mode.

So something like ddd or kdebug appeals to me, Eclipse well that is a
pretty big slow horse . I see no gdbserver on my qnx system, and there
is no qnx target in any of the qnu stuff, and QNX cvs directory is not
letting me login, (guess their pserver is full). I see there is a
program called pdebug AND? on and on…

What is the common setup? I was thinking ddd or kdebug or something on
my remote machine to gdb to gdbserver on my qnx machine.

srini <srini_durand@yahoo.com> wrote:

We’ve got a shipped set of development tools for Linux, that include
command-line gdb (of various flavours).

pdebug is the QNX-side agent that our versions of gdb talk to.

The MI interface to gdb should be the same, though. So, you should
be able to sit ddd (or equivalent) on top of the QNX gdb flavours
(e.g. nto-x86gdb) and work that way.

-David

I have been developing qnx4 for years and wanted to play a bit with
qnx6, and found a dusty dvd which my company bought a while back and
loaded it up on a vmware virtual disk on my Linux box, x86 platform.

Most of my target OS systems, including qnx4, now reside simply on a
vmware virtual disk.

I have got all the NFS stuff and open-ssh stuff winken and blinken have
quite and acceptable development environment with kate and ssh from my
Linux box.

And now the question turns of course to debugging. I am a pretty simple
guy, but not simple enough to want to use gdb from a command line mode.

So something like ddd or kdebug appeals to me, Eclipse well that is a
pretty big slow horse . I see no gdbserver on my qnx system, and there
is no qnx target in any of the qnu stuff, and QNX cvs directory is not
letting me login, (guess their pserver is full). I see there is a
program called pdebug AND? on and on…

What is the common setup? I was thinking ddd or kdebug or something on
my remote machine to gdb to gdbserver on my qnx machine.


David Gibbs
QNX Training Services
dagibbs@qnx.com