This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]