OpenQNX :: The QNX Community Portal

Oct 07, 2008 - 11:49 AM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 46 unlogged users and 4 registered users online.

You can log-in or register for a user account here.

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
srini
Post subject: debugging  PostPosted: May 30, 2007 - 02:46 PM
Guest





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.
 
   
Reply with quote Back to top
David Gibbs
Post subject: Re: debugging  PostPosted: Jun 01, 2007 - 08:04 PM
Guest





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

Quote:
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
 
   
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters.
Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.