Commit ec75a430 by Geoffrey Keating Committed by Geoffrey Keating

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
parent dfdec7a7
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++.
......
......@@ -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 \
......
......@@ -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}}}}}}}}}}}}"
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment