On Sun, 2002-12-01 at 12:57, kcorey wrote: > I'm using Falch.net's Developer studio 2.7 and PRC-tools. I've tried > going into the command line and trying to examine things using the 'nm' > command, but it doesn't understand the format of the binary > (understandably).
There is a nm that comes with prc-tools called m68k-palmos-nm that will understand the binary. Even more important for debugging multisegment issues is to generate a map file at compile time. Use the compiler options -Wl,-Map -Wl,myprog.map > Can anyone point to a resource on the web, in a book, etc, that really > makes multi-segmented applications clear (including things like how to > figure out size of functions, which functions are good candidates to > move to another segment, why it's possible for the profiler to report > that MemSemaphoreRelease could possibly used 10000 bytes of stack on a > machine that's supposed to have a 3.25K stack, etc). A map file will help you with this. -- Dave Carrigan ([EMAIL PROTECTED]) Seattle, WA, USA http://www.rudedog.org/ UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
