Discussion:
Commit: Update documentation of readelf's --unwind option
Nick Clifton
2018-10-18 15:57:35 UTC
Permalink
Hi Guys,

I am applying this patch on behalf of a user who tried to use
readelf's --unwind option on an AArch64 binary, but found that it was
not supported. Eventually I hope to add support for that
architecture, but in the meantime this extra documentation might help
other users.

Cheers
Nick

binutils/ChangeLog
2018-10-18 Nick Clifton <***@redhat.com>

* doc/binutils.texi (readelf): Document alternatives to the
--unwind option if it is not supported for the target
architecture.

diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi
index cd70791490..6edd7b1ae8 100644
--- a/binutils/doc/binutils.texi
+++ b/binutils/doc/binutils.texi
@@ -4620,7 +4620,11 @@ Displays the contents of the file's relocation section, if it has one.
@cindex unwind information
Displays the contents of the file's unwind section, if it has one. Only
the unwind sections for IA64 ELF files, as well as ARM unwind tables
-(@code{.ARM.exidx} / @code{.ARM.extab}) are currently supported.
+(@code{.ARM.exidx} / @code{.ARM.extab}) are currently supported. If
+support is not yet implemented for your architecture you could try
+dumping the contents of the @var{.eh_frames} section using the
+@option{--debug-dump=frames} or @option{--debug-dump=frames-interp}
+options.

@item -d
@itemx --dynamic

Loading...