On 11-May-99 ml user wrote:
> I want to debug a programm (written in C) compiled with gcc (I want to use
> gdb for debugging). And I would like to use DDD (DataDisplayDebugger) as
> frontend for gdb. Does this work (gdb+ddd+palm) ? Is there documentation
> about this on the Web ? (URL ?) If there is a better way to debug Palm
> programms, please let me know !
Start xcopilot like normal, for me it is:
xcopilot -serial -gdebug &
Click the checkbox on gdb Panel (you need to load that if you don't have it
already -- /usr/local/pilot/gdbpanel).
Start DDD:
ddd --debugger m68k-palmos-coff-gdb myobjectfile
and then in the DDD debug window at the bottom I type my target line:
target pilot /dev/ttyqf
Then I click on my program icon within xcopilot and it stops at the first
line of code. Set my breakpoints and watches. Very cool.
But, I'll admit I haven't done that in a while. You sorta get used to the
quick and dirty nature of gdb, and it is really quite easy with a little
practice.
/* Chris Faherty <[EMAIL PROTECTED]>, finger for PGP */