This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/54395] GCC should be able to put DWARF tables in a non-mapped/strippable section for debug-only use
- From: "bugdal at aerifal dot cx" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 29 Aug 2012 12:43:23 +0000
- Subject: [Bug debug/54395] GCC should be able to put DWARF tables in a non-mapped/strippable section for debug-only use
- Auto-submitted: auto-generated
- References: <bug-54395-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54395
--- Comment #6 from Rich Felker <bugdal at aerifal dot cx> 2012-08-29 12:43:23 UTC ---
I seem to remember gcc -g -fno-asynchronous-unwind-tables -fno-unwind-tables
producing a warning that these options are incompatible and that debugging will
not work, but at the moment it seems to be doing the right thing. Was I
imagining things or are there some gcc versions where the combination is
problematic?
I'd like to investigate the situation/behavior a bit longer before closing this
bug, but it seems like you may have provided a solution. If this solution does
work, however, I still think the documentation is lacking; it's not clear that
these options would not remove the tables in a way that interferes with
debugging.