[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
As on any other platform, you instruct GCC to produce debugging information by compiling with the `-g' option.
Some debuggers targeting Palm OS, notably GDB, also need your application
to have a special stub (called StartDebug
) in its startup code so
that they can attach to the running application successfully.
To include this stub, you also need to link with `-g'.
By default, the stub is disabled and your application runs normally.
When the stub sees that a gdbS
#0 feature exists and has the value
0x12BEEF34, it is enabled and will converse with the debugger, telling it
where in memory to find the application.
There are two convenient ways to set this feature and enable the stub:
This document was generated by root on October, 25 2005 using texi2html 1.76.