Commit eb7715a4 by Richard Henderson Committed by Richard Henderson

* doc/invoke.texi: Document -gdwarf{,-2} vs debug level.

From-SVN: r52769
parent cf5ee720
2002-04-25 Richard Henderson <rth@redhat.com>
* doc/invoke.texi: Document -gdwarf{,-2} vs debug level.
2002-04-25 Ulrich Weigand <uweigand@de.ibm.com> 2002-04-25 Ulrich Weigand <uweigand@de.ibm.com>
* config/s390/s390.c (s390_emit_epilogue): Always restore registers * config/s390/s390.c (s390_emit_epilogue): Always restore registers
......
...@@ -2722,8 +2722,6 @@ supported). This is the format used by DEBUG on VMS systems. ...@@ -2722,8 +2722,6 @@ supported). This is the format used by DEBUG on VMS systems.
@itemx -gstabs@var{level} @itemx -gstabs@var{level}
@itemx -gcoff@var{level} @itemx -gcoff@var{level}
@itemx -gxcoff@var{level} @itemx -gxcoff@var{level}
@itemx -gdwarf@var{level}
@itemx -gdwarf-2@var{level}
@itemx -gvms@var{level} @itemx -gvms@var{level}
Request debugging information and also use @var{level} to specify how Request debugging information and also use @var{level} to specify how
much information. The default level is 2. much information. The default level is 2.
...@@ -2737,6 +2735,11 @@ Level 3 includes extra information, such as all the macro definitions ...@@ -2737,6 +2735,11 @@ Level 3 includes extra information, such as all the macro definitions
present in the program. Some debuggers support macro expansion when present in the program. Some debuggers support macro expansion when
you use @option{-g3}. you use @option{-g3}.
Note that in order to avoid confusion between DWARF1 debug level 2,
and DWARF2, neither @option{-gdwarf} nor @option{-gdwarf-2} accept
a concatenated debug level. Instead use an additional @option{-g@var{level}}
option to change the debug level for DWARF1 or DWARF2.
@cindex @code{prof} @cindex @code{prof}
@item -p @item -p
@opindex p @opindex p
......
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