DWARF-5: readelf: .debug_names
authorJan Kratochvil <jan.kratochvil@redhat.com>
Sun, 2 Jul 2017 20:15:05 +0000 (22:15 +0200)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Sun, 2 Jul 2017 20:15:05 +0000 (22:15 +0200)
commit613643582c4f6145063fe1522d57bd01fe7bba02
tree40bb1d145f50a2b4b92417d42fb0a725091447d2
parentde837d77bca30483e8e926044fa497e3d49f7972
DWARF-5: readelf: .debug_names

Display DWARF-5 .debug_names (standardized .gdb_index).

binutils/ChangeLog
2017-07-02  Jan Kratochvil  <jan.kratochvil@redhat.com>

* dwarf.c: Include assert.h.
(MAX, MIN, get_IDX_name, display_debug_names): New.
(debug_displays): Add .debug_names.
* dwarf.h: (enum dwarf_section_display_enum): Add debug_names.
* readelf.c (process_section_headers): Add ".debug_names".
binutils/ChangeLog
binutils/dwarf.c
binutils/dwarf.h
binutils/readelf.c