Hi !
I would like to debug a program on a real device, but I have some troubles...
I'm using PRC Tools and gdb ( with ddd ) under Linux.
If I debug the program with POSE, no problem, I can do what I want, with
source level debugging and all the needed features.
But, how can I do the same with a real device ?
I have compiled and linked a .PRC file with debug informations ( -g ).
I have installed the .PRC file into the device.
I start gdb, with the command : target pilot /dev/pilot
Then, on the device, I do the special shorcut to enter debugger mode.
All is fine, as I get the message "Welcome to the Palm OS BigROM
Debugger!!" into my debbuger.
But now, what can I do to launch the program I want to debug and break into
PilotMain, whith source level debugging as with POSE ?
I'm sure there is an instruction for doing that, but I didn't find it...
I have tried to put a DbgBreak() instruction into my PilotMain code, and then
to type cont under the debugger, tap on my application icon on the device to
launch it and, great, it seems to break into it...but I don't have the source
level debugging informations I'm looking for !
Can someone tell me what I'm missing ?
Thanks.
--
Daniel Morais
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/