This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/42065] DWARF .debug_macinfo contains unused macros
- From: "jan dot kratochvil at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Nov 2009 14:49:15 -0000
- Subject: [Bug debug/42065] DWARF .debug_macinfo contains unused macros
- References: <bug-42065-12292@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from jan dot kratochvil at redhat dot com 2009-11-16 14:49 -------
(In reply to comment #1)
> > -g3 currently produces huge objects as it contains many unused macros.
> > -g2 produces no macros debug info so GDB cannot provide its expansion.
>
> That is by design and the reason why -g is -g2 by default ....
OK, thanks for info, still IMO there should be such an additional option.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42065