This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
-g and -ggdb
- To: egcs at cygnus dot com
- Subject: -g and -ggdb
- From: Mark Mitchell <mmitchell at usa dot net>
- Date: Fri, 5 Dec 1997 16:54:01 GMT
- Reply-To: mmitchell at usa dot net
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