Older versions of the PalmDebugger distributed by Handspring that have
source-level debugging capability are looking for a "sym" file (created as
Keith describes) with a specially-formatted name. The name looks like
"<Database name>.<resource type>.<resource id>.sym".
For example, if your app has a database name of "PocketFoo" and you are
loading the main symbols, you want to rename your linker output to
"PocketFoo.code.1.sym". This will load the symbols for the code.1 resource
for your app (the main code resource).
A makefile I just pulled out at random has the following link line:
$(CC) $(CFLAGS) $(appObjList) -o $(objDir)/$(progDBName).code.1.sym
The output file is then passed on to the post-linker with the "sym" name.
Obviously, this is a bit cumbersome. The newest version of PalmDebugger
that Handspring is distributing with their development kit finds the most
commonly named symbol files automatically, with or without a special name.
This development kit also supports new stuff for the Visor Prism, etc. You
can find it here:
<http://www.handspring.com/developers/developers_kit.jhtml>
bob
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 31, 2000 3:33 PM
> To: Palm Developer Forum
> Subject: RE: How do I create the sym file for the palm debugger?
>
>
>
>
> I'm assuming that by "the palm debugger", the original poster
> means the
> application named PalmDebugger. If so, then providing
> CodeWarrior-based
> information will not help. PalmDebugger reads only
> gcc-generated sym files
> (which are created by passing "-g" to both the compiler and
> linker). The
> CodeWarrior-generated sym file is a different beast. The two
> are not compatible
> or exchangable with each other.
>
> -- Keith Rollin
> -- Palm OS Emulator engineer
>
>
>
>
>
>
> "Nesse, Rustin" <[EMAIL PROTECTED]> on 10/24/2000 02:44:05 PM
>
> Please respond to "Palm Developer Forum"
> <[EMAIL PROTECTED]>
>
> Sent by: "Nesse, Rustin" <[EMAIL PROTECTED]>
>
>
> To: "Palm Developer Forum" <[EMAIL PROTECTED]>
> cc: (Keith Rollin/US/PALM)
> Subject: RE: How do I create the sym file for the palm debugger?
>
>
>
> In Codewarrior, it's in your application settings, under 68k Linker.
> Check the box next to "Generate SYM file".
>
> Hope that helps!
> -Rus
> http://www.act.avnet.com/
>
> >I must be missing some thing....
> >
>
>
>
>
>
>
> --
> For information on using the Palm Developer Forums, or to
> unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/