diff options
author | Richard Henderson <rth@redhat.com> | 2002-04-25 15:31:31 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2002-04-25 15:31:31 -0700 |
commit | eb7715a4823b5be907c0dcea2d71d5cae7b72c10 (patch) | |
tree | 4a39f38d8791fa41315b1b9847068e6b5b2a6544 /gcc | |
parent | cf5ee7207ddb206d1f01b902bb382d402ccdcacb (diff) | |
download | gcc-eb7715a4823b5be907c0dcea2d71d5cae7b72c10.zip gcc-eb7715a4823b5be907c0dcea2d71d5cae7b72c10.tar.gz gcc-eb7715a4823b5be907c0dcea2d71d5cae7b72c10.tar.bz2 |
* doc/invoke.texi: Document -gdwarf{,-2} vs debug level.
From-SVN: r52769
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 7 |
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 01b2e44..17b63f4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +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> * config/s390/s390.c (s390_emit_epilogue): Always restore registers diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index cd2eb14..be361e5 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -2722,8 +2722,6 @@ supported). This is the format used by DEBUG on VMS systems. @itemx -gstabs@var{level} @itemx -gcoff@var{level} @itemx -gxcoff@var{level} -@itemx -gdwarf@var{level} -@itemx -gdwarf-2@var{level} @itemx -gvms@var{level} Request debugging information and also use @var{level} to specify how much information. The default level is 2. @@ -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 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} @item -p @opindex p |