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/dwarf.h | |
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/dwarf.h')
-rw-r--r-- | binutils/dwarf.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/binutils/dwarf.h b/binutils/dwarf.h index 68e93f1..1cd4201 100644 --- a/binutils/dwarf.h +++ b/binutils/dwarf.h @@ -108,6 +108,8 @@ typedef struct } DWARF2_Internal_ARange; +/* N.B. The order here must match the order in debug_displays. */ + enum dwarf_section_display_enum { abbrev = 0, @@ -116,12 +118,14 @@ enum dwarf_section_display_enum info, line, pubnames, + gnu_pubnames, eh_frame, macinfo, macro, str, loc, pubtypes, + gnu_pubtypes, ranges, static_func, static_vars, |