------- 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