* config/darwin.h (LINK_COMMAND_SPEC): Replace -gnone with -g0.
* config/darwin9.h (LINK_COMMAND_SPEC): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120013
138bc75d-0d04-0410-961f-
82ee72b054a4
+2006-12-18 Geoffrey Keating <geoffk@apple.com>
+
+ * doc/invoke.texi (Debugging Options): Document -g0.
+ * config/darwin.h (LINK_COMMAND_SPEC): Replace -gnone with -g0.
+ * config/darwin9.h (LINK_COMMAND_SPEC): Likewise.
+
2006-12-18 Ian Lance Taylor <iant@google.com>
* c.opt (Wmissing-declarations): Add C++ and ObjC++.
%{!A:%{!nostdlib:%{!nostartfiles:%E}}} %{T*} %{F*} }}}}}}}\n\
%{!fdump=*:%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\
%{.c|.cc|.C|.cpp|.c++|.CPP|.m|.mm: \
- %{gdwarf-2:%{!gstabs*:%{!gnone: dsymutil %{o*:%*}%{!o:a.out}}}}}}}}}}}}"
+ %{gdwarf-2:%{!gstabs*:%{!g0: dsymutil %{o*:%*}%{!o:a.out}}}}}}}}}}}}"
#ifdef TARGET_SYSTEM_ROOT
#define LINK_SYSROOT_SPEC \
%{!A:%{!nostdlib:%{!nostartfiles:%E}}} %{T*} %{F*} }}}}}}}\n\
%{!fdump=*:%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\
%{.c|.cc|.C|.cpp|.c++|.CPP|.m|.mm: \
- %{g*:%{!gstabs*:%{!gnone: dsymutil %{o*:%*}%{!o:a.out}}}}}}}}}}}}"
+ %{g*:%{!gstabs*:%{!g0: dsymutil %{o*:%*}%{!o:a.out}}}}}}}}}}}}"
Request debugging information and also use @var{level} to specify how
much information. The default level is 2.
+Level 0 produces no debug information at all. Thus, @option{-g0} negates
+@option{-g}.
+
Level 1 produces minimal information, enough for making backtraces in
parts of the program that you don't plan to debug. This includes
descriptions of functions and external variables, but no information