summaryrefslogtreecommitdiff
path: root/binutils/dwarf.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2021-02-25 17:50:44 +0000
committerNick Clifton <nickc@redhat.com>2021-02-25 17:50:44 +0000
commite38332c286bb96026fadc128170303cc4e935225 (patch)
tree1a1d7c9ce4a753f7cf5467ee13dc27e34e62a3d8 /binutils/dwarf.h
parentd4ff3cbfdb361a1c3a16425c084cdd2ff8535cfd (diff)
downloadbinutils-gdb-e38332c286bb96026fadc128170303cc4e935225.tar.gz
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/binutils/dwarf.h b/binutils/dwarf.h
index 98fbef8183d..043d3f9c9d0 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
};