-g and -ggdb
Mark Mitchell
mmitchell@usa.net
Fri Dec 5 16:52:00 GMT 1997
Why doesn't -g generate DWARF2 output on Linux? I'd think that -g
should be synonymous with -ggdb on systems (like Linux) where the
usual debugger is gdb, but this does not seem to be so. The
documentation for -g produces debugging information in the operating
system's "native format". Any thoughts? I'd be happy to fix this, if
we have consensus on what to do. My proposal:
o Make the "native format" on Linux whatever -ggdb generates.
--
Mark Mitchell mmitchell@usa.net
Stanford University http://www.stanford.edu
More information about the Gcc
mailing list