A second version of my multi-segment debugging patches for prc-tools-2.2 is now available: MsectGdb2.2-2. Gdb with these patches applied will identify itself as 'GNU gdb 5.0-tvo-20021118'.
Changes since MsectGdb2.2-1 - Functions with inner blocks not in the default code segment were not treated correctly by ld and gdb. The start and end addresses of the innerblocks got messed up. This created havoc in the symbol lookup code creating things as references to wrong line numbers, source files and functions when stepping into a function in an extra code segment which contains inner blocks. This should be fixed now. Thanks to Andrew Razuwaev, who provided his code which made me squash this bug. You can find it at http://www.v-overbeek.cistron.nl/mseggdb. Enjoy. Ton van Overbeek -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
