"Brian Ku" <[EMAIL PROTECTED]> writes: > 1. Can I access globals from other code segments?
Yes. Globals are stored in a different area of memory. > 2. How do I generate a map file from prc-tools? Add "-Wl,-Map -Wl,myfile.map" to your linker line. > 3. The gdb debugger doesn't break in code from other segments (there > seems to be some posts on this issue for both CW and GCC). If it's a problem with CW, it's not the same problem as with GCC. m68k-palmos-gdb currently doesn't understand that a symbol may be in a different segment, so it can't set breakpoints on functions in different segments. There's a patch available; see these archives or the prc-tools archives on Sourceforge. > 4. I moved a function out of the first segment and it doesn't seem to be > called at all? Can't help without more information. -- Dave Carrigan ([EMAIL PROTECTED]) | Yow! Xerox your lunch and file UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-DNS | it under ``sex offenders!'' Seattle, WA, USA | http://www.rudedog.org/ | -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
