This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
RE: Debugging Macros with gdb DOES NOT WORK
- From: Siddharth Choudhary Kode <nightelf at cs dot utexas dot edu>
- To: gdb at sources dot redhat dot com
- Date: Thu, 17 Feb 2005 13:17:46 -0600 (CST)
- Subject: RE: Debugging Macros with gdb DOES NOT WORK
I get the same behavior using gcc 3.4.3 w/ gdb 6.3 on Gentoo Linux using
the same compile flags - I have tried w/ -ggdb3, -gstabs3, and -gstabs+ as
well but I think -g3 alone should be sufficient even though the info page
says to also use -gdwarf-2. I don't get anything using either "info
macro" or "macro expand". "readelf --debug-dump=macro <binary>" seems to
reveal proper macro debug info... So I assume this is a gdb bug. If you
have the time, you could try compiling a new gdb w/ debugging on and debug
gdb w/ gdb to find out what the deal is. Please post back to this list if
you find out the reason/solution.
Thanks,
Sid