diff options
author | Nick Clifton <nickc@redhat.com> | 2021-02-25 17:50:44 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2021-02-25 17:50:44 +0000 |
commit | e38332c286bb96026fadc128170303cc4e935225 (patch) | |
tree | 1a1d7c9ce4a753f7cf5467ee13dc27e34e62a3d8 /binutils/dwarf.h | |
parent | d4ff3cbfdb361a1c3a16425c084cdd2ff8535cfd (diff) | |
download | binutils-e38332c286bb96026fadc128170303cc4e935225.zip binutils-e38332c286bb96026fadc128170303cc4e935225.tar.gz binutils-e38332c286bb96026fadc128170303cc4e935225.tar.bz2 |
Add initial support for .debug_sup sections.
* dwarf.c (get_type_abbrev_from_form): Accept but ignore sup
forms.
(read_and_display_attr_value): Handle sup forms.
(display_debug_sup): New function. Displays the contents of a
.debug_sup section.
(load_debug_sup_file): New function. Loads the contents of a file
referenced by a .debug_sup section.
(check_for_and_load_links): Call load_debug_sup_file.
(debug_displays): Add entry for .debug_sup.
* dwarf.h (enum dwarf_section_display_enum): Add debug_sup.
* readelf.c (process_section_headers): Add support for debug_sup.
* doc/debug.options.texi: Note that the =links option will display
the contents of .debug_sup sections.
* NEWS: Mention the new support.
Diffstat (limited to 'binutils/dwarf.h')
-rw-r--r-- | binutils/dwarf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/binutils/dwarf.h b/binutils/dwarf.h index 98fbef8..043d3f9 100644 --- a/binutils/dwarf.h +++ b/binutils/dwarf.h @@ -120,6 +120,7 @@ enum dwarf_section_display_enum dwp_tu_index, gnu_debuglink, gnu_debugaltlink, + debug_sup, separate_debug_str, max }; |