invoke.texi (Debugging Options): Document -g0.

* doc/invoke.texi (Debugging Options): Document -g0.
	* config/darwin.h (LINK_COMMAND_SPEC): Replace -gnone with -g0.
	* config/darwin9.h (LINK_COMMAND_SPEC): Likewise.

From-SVN: r120013
This commit is contained in:
Geoffrey Keating 2006-12-18 21:10:16 +00:00 committed by Geoffrey Keating
parent dfdec7a705
commit ec75a430b0
4 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,9 @@
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++.

View File

@ -240,7 +240,7 @@ extern GTY(()) int darwin_ms_struct;
%{!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 \

View File

@ -16,4 +16,4 @@
%{!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}}}}}}}}}}}}"

View File

@ -3664,6 +3664,9 @@ supported). This is the format used by DEBUG on VMS systems.
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