Charles Morris wrote:
>
> I should add: I want to use GDB with the Palm OS Emmulator, not with an
> actual device.
>
> Charles Morris <[EMAIL PROTECTED]> wrote in message
> news:3405@palm-dev-forum...
> >
> > I have PRC 2.0 up and running, but I cannot find anything on how to use
> GDB.
> > I don't think the Palm SDK Debugger works with GCC executables, but I
> think
> > GDB should provide source line debugging. I just can't find out how. Can
> > anyone provide step by step instructions on this?
> >
Start POSE, start gdb and issue this command to gdb :
target pilot localhost:2000
As soon as you launch your app it should hit an automatic breakpoint and
you're ready to begin debugging.
I use ddd to put a friendly face on gdb, but you'll need to make sure to
start it with the right version of gdb. One way is via an alias like
this :
alias palm-ddd='ddd --gdb --debugger m68k-palmos-coff-gdb'
All this applies to running on Linux and may or may not work if you're
using Cygwin. Hope it helps.
--
Tony
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html