Which combination of platform/debugger to debug 4.0?

Bradley Lucier lucier@math.purdue.edu
Tue Nov 9 03:20:00 GMT 2004


I'm trying to debug some incorrect object code produced by 4.0.  I've 
tried the gdb that comes with Apple's toolset on MacOS X, and gdb 6.2.1 
on solaris2.9 and some version of RedHat (9 perhaps?) on x86.

Geoff Keating says that Apple's debugger doesn't give accurate 
information about variables, and 6.2.1 definitely can't even track 
variable values (at -O1 -fschedule-insns2) or do "info locals" 
correctly on either platform.

So what should I use to try to debug code generated by 4.0?

Brad



More information about the Gcc mailing list