aboutsummaryrefslogtreecommitdiff
path: root/binutils/doc
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/doc
parentd4ff3cbfdb361a1c3a16425c084cdd2ff8535cfd (diff)
downloadgdb-e38332c286bb96026fadc128170303cc4e935225.zip
gdb-e38332c286bb96026fadc128170303cc4e935225.tar.gz
gdb-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/doc')
-rw-r--r--binutils/doc/debug.options.texi10
1 files changed, 5 insertions, 5 deletions
diff --git a/binutils/doc/debug.options.texi b/binutils/doc/debug.options.texi
index 2ad8f03..3f0234a 100644
--- a/binutils/doc/debug.options.texi
+++ b/binutils/doc/debug.options.texi
@@ -44,11 +44,11 @@ output from this option can also be restricted by the use of the
@item k
@itemx =links
-Displays the contents of the @samp{.gnu_debuglink} and/or
-@samp{.gnu_debugaltlink} sections. Also displays any links to
-separate dwarf object files (dwo), if they are specified by the
-DW_AT_GNU_dwo_name or DW_AT_dwo_name attributes in the
-@samp{.debug_info} section.
+Displays the contents of the @samp{.gnu_debuglink},
+@samp{.gnu_debugaltlink} and @samp{.debug_sup} sections, if any of
+them are present. Also displays any links to separate dwarf object
+files (dwo), if they are specified by the DW_AT_GNU_dwo_name or
+DW_AT_dwo_name attributes in the @samp{.debug_info} section.
@item K
@itemx =follow-links