On Sun, Mar 10, 2002 at 01:17:22PM -0800, Brian Ku wrote:
> How can I get dbg source info under gdb for PalmOS?  I am using the
> debug rom and I have the PalmOS 3.5 sources (limited).
[...]
> #0  0x10c750f0 in ?? ()
> #1  0x10c756ec in ?? ()
> #2  0x10c768ba in ?? ()
> #3  0x53260 in OnMainScrollEvent (pevt=0x3d24c) at MyApp.cpp:503
> #4  0x530a6 in MainHandleEvent (pevt=0x3d24c) at MyApp.cpp:447
[...]

Thus you see full symbolic information for your own functions, but not
functions from the ROM.

Neither PalmSource nor any of the licensees provide full debugger symbol
information for their ROMs.  However it's possible to use the MacsBug
symbols embedded in the ROMs to get just function names instead of "??"s.

GDBs in prc-tools 2.1 pre 1 and later are capable of using MacsBug
symbols in output like stack backtraces.  (See also prc-tools's
-mdebug-labels GCC option.)  See

        http://prc-tools.sourceforge.net/releases.html

    John

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to