mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-03 13:23:00 +08:00
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.
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user