summaryrefslogtreecommitdiff
path: root/binutils/dwarf.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2009-12-03 12:28:36 +0000
committerNick Clifton <nickc@redhat.com>2009-12-03 12:28:36 +0000
commitb522cdde1afbbfdaee625a62c0d2c27ff5590482 (patch)
tree115378e37e88b348871e78e46d569b3f40c81b36 /binutils/dwarf.h
parent9322f582cead1bc706207a0e5c5434ddefaae8dd (diff)
downloadbinutils-redhat-b522cdde1afbbfdaee625a62c0d2c27ff5590482.tar.gz
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/dwarf.h')
-rw-r--r--binutils/dwarf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/binutils/dwarf.h b/binutils/dwarf.h
index b39aba1ee5..3f68d4739a 100644
--- a/binutils/dwarf.h
+++ b/binutils/dwarf.h
@@ -105,6 +105,7 @@ extern int do_debug_info;
extern int do_debug_abbrevs;
extern int do_debug_lines;
extern int do_debug_pubnames;
+extern int do_debug_pubtypes;
extern int do_debug_aranges;
extern int do_debug_ranges;
extern int do_debug_frames;