aboutsummaryrefslogtreecommitdiff
path: root/binutils/objdump.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2009-12-03 12:28:37 +0000
committerNick Clifton <nickc@redhat.com>2009-12-03 12:28:37 +0000
commitf9f0e73285704b47d65e73890b8fb63dc7139460 (patch)
treefcfde6acb84866169655abd79c8576c0ca7dc6a1 /binutils/objdump.c
parent8b7dbdc92350e95a77548f36c2b537018ca7d52b (diff)
downloadgdb-f9f0e73285704b47d65e73890b8fb63dc7139460.zip
gdb-f9f0e73285704b47d65e73890b8fb63dc7139460.tar.gz
gdb-f9f0e73285704b47d65e73890b8fb63dc7139460.tar.bz2
PR binutils/11045
* dwarf.c (do_debug_pubtypes): New variable. (dwarf_select_sections_by_names): Handle .debug_pubtypes. (dwarf_select_sections_by_letters): Add 't' for .debug_pubtype. (dwarf_select_sections_all): Set do_debug_pubtypes. (debug_displays): Add support for .debug_pubtypes. * dwarf.h (do_debug_pubtypes): Export. * objdump.c (usage): Add -wt or --dwarf=pubtypes. * readelf.c (usage): Likewise. (process_section_headers): Enable debug display if do_debug_pubtypes is set. * doc/binutils.texi: Document -wt/--dwarf=pubtypes option.
Diffstat (limited to 'binutils/objdump.c')
-rw-r--r--binutils/objdump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/binutils/objdump.c b/binutils/objdump.c
index e9fef40..42d8961 100644
--- a/binutils/objdump.c
+++ b/binutils/objdump.c
@@ -200,9 +200,9 @@ usage (FILE *stream, int status)
-g, --debugging Display debug information in object file\n\
-e, --debugging-tags Display debug information using ctags style\n\
-G, --stabs Display (in raw form) any STABS info in the file\n\
- -W[lLiaprmfFsoR] or\n\
+ -W[lLiaprmfFsoRt] or\n\
--dwarf[=rawline,=decodedline,=info,=abbrev,=pubnames,=aranges,=macro,=frames,\n\
- =frames-interp,=str,=loc,=Ranges]\n\
+ =frames-interp,=str,=loc,=Ranges,=pubtypes]\n\
Display DWARF info in the file\n\
-t, --syms Display the contents of the symbol table(s)\n\
-T, --dynamic-syms Display the contents of the dynamic symbol table\n\