diff options
author | Nick Clifton <nickc@redhat.com> | 2008-06-12 11:57:40 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2008-06-12 11:57:40 +0000 |
commit | b922d5904f4a0ac69d5abfc8e24826b17012f334 (patch) | |
tree | 2d7ebe1abaceacb2bfad821c219956db6808eb27 /binutils/doc | |
parent | 5590fba9534e101a6f41d7ad801442cf7af17f98 (diff) | |
download | gdb-b922d5904f4a0ac69d5abfc8e24826b17012f334.zip gdb-b922d5904f4a0ac69d5abfc8e24826b17012f334.tar.gz gdb-b922d5904f4a0ac69d5abfc8e24826b17012f334.tar.bz2 |
PR binutils/6483
* objdump.c (dump_bfd): If the -g option found no STABS or IEEE
debug information to display, try dumping DWARF information
instead.
* rddbg.c (read_debugging_info): Add a parameter to suppress the
display of a warning message when no debug information is found.
* budbg.h (read_debugging_info): Update prototype.
* objcopy.c (copy_object): Continue to allow read_debugging_info
to produce warning messages.
* doc/binutils.texi (--debugging): Document new behaviour of the
-g/--debugging option.
Diffstat (limited to 'binutils/doc')
-rw-r--r-- | binutils/doc/binutils.texi | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi index d08c617..2ebf354 100644 --- a/binutils/doc/binutils.texi +++ b/binutils/doc/binutils.texi @@ -1693,11 +1693,11 @@ for more information on demangling. @item -g @itemx --debugging -Display debugging information. This attempts to parse debugging -information stored in the file and print it out using a C like syntax. -Only certain types of debugging information have been implemented. -Some other types are supported by @command{readelf -w}. -@xref{readelf}. +Display debugging information. This attempts to parse STABS and IEEE +debugging format information stored in the file and print it out using +a C like syntax. If neither of these formats are found this option +falls back on the @option{-W} option to print any DWARF information in +the file. @item -e @itemx --debugging-tags |