diff options
author | Doug Evans <dje@google.com> | 2013-11-07 14:58:41 -0800 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2013-11-07 15:37:44 -0800 |
commit | 459d52c84aa5eee986006b793794e382861c073d (patch) | |
tree | b8b18c38ffcc6bdf513b5f422e11643743b3e19d /binutils/readelf.c | |
parent | fcb8d9c2f422869b09eff4dbbcf55a701ba3a4b8 (diff) | |
download | gdb-459d52c84aa5eee986006b793794e382861c073d.zip gdb-459d52c84aa5eee986006b793794e382861c073d.tar.gz gdb-459d52c84aa5eee986006b793794e382861c073d.tar.bz2 |
Add pretty-printing of .debug_gnu_pubnames, .debug_gnu_pubtypes.
* dwarf.c (get_gdb_index_symbol_kind_name): New function.
(display_debug_pubnames_worker): Renamed from display_debug_pubnames.
Add support for .debug_gnu_pubnames, .debug_gnu_pubtypes.
(display_debug_pubnames, display_debug_pubnames_gnu): New functions.
(display_gdb_index): Redo printing of symbol kind.
(debug_displays): Add .debug_gnu_pubnames, .debug_gnu_pubtypes.
* dwarf.h (dwarf_section_display_enum): Add gnu_pubnames, gnu_pubtypes.
* readelf.c (process_section_headers): Add gnu_pubnames, gnu_pubtypes.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r-- | binutils/readelf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c index 0389f14..b9b06a1 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -4919,6 +4919,8 @@ process_section_headers (FILE * file) || (do_debug_lines && const_strneq (name, "line.")) || (do_debug_pubnames && const_strneq (name, "pubnames")) || (do_debug_pubtypes && const_strneq (name, "pubtypes")) + || (do_debug_pubnames && const_strneq (name, "gnu_pubnames")) + || (do_debug_pubtypes && const_strneq (name, "gnu_pubtypes")) || (do_debug_aranges && const_strneq (name, "aranges")) || (do_debug_ranges && const_strneq (name, "ranges")) || (do_debug_frames && const_strneq (name, "frame")) |