]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* doc/invoke.texi (Debugging Options): Document -g0.
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Dec 2006 21:10:16 +0000 (21:10 +0000)
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Dec 2006 21:10:16 +0000 (21:10 +0000)
* 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

gcc/ChangeLog
gcc/config/darwin.h
gcc/config/darwin9.h
gcc/doc/invoke.texi

index 6e812d4ce7f5633040e795eedd4f135d5f0bd184..a058342466a53255f3b4e96b64662f77167e5e6d 100644 (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++.
index 18a14957bdd20dadc4b37f8d27a1d272c412563f..fb885ad5ac0d75216009305b500604c024eb26b0 100644 (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 \
index 58e980630df070ab03b4e82b0a4a47274ca7aa26..3f62677141a8fcf7991236d8f594d0e26e6d5fa5 100644 (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}}}}}}}}}}}}"
index 290dad087eef077a111bfea3a6d929f5b991bf91..a81ca40d77191fd77c22d4163bc0bde56448d973 100644 (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