aboutsummaryrefslogtreecommitdiff
path: root/binutils/doc/binutils.texi
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2005-11-14 15:00:30 +0000
committerDaniel Jacobowitz <drow@false.org>2005-11-14 15:00:30 +0000
commitaef1f6d0ed936f30822029402568a7e88a3b4d9e (patch)
treead2b5da5239a04935e083decba7f6afc93f37d04 /binutils/doc/binutils.texi
parent56424b64208bd26f7e7c787b4d0af06287d387e4 (diff)
downloadgdb-aef1f6d0ed936f30822029402568a7e88a3b4d9e.zip
gdb-aef1f6d0ed936f30822029402568a7e88a3b4d9e.tar.gz
gdb-aef1f6d0ed936f30822029402568a7e88a3b4d9e.tar.bz2
* readelf.c (struct dump_list_entry, request_dump_byname)
(initialise_dumps_byname): New. (parse_args): Call request_dump_byname. (process_section_contents): Call initialise_dumps_byname. * doc/binutils.texi (readelf): Mention -x NAME. * NEWS: Likewise.
Diffstat (limited to 'binutils/doc/binutils.texi')
-rw-r--r--binutils/doc/binutils.texi8
1 files changed, 5 insertions, 3 deletions
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi
index 581e8b6..f01919a 100644
--- a/binutils/doc/binutils.texi
+++ b/binutils/doc/binutils.texi
@@ -3324,7 +3324,7 @@ readelf [@option{-a}|@option{--all}]
[@option{-V}|@option{--version-info}]
[@option{-A}|@option{--arch-specific}]
[@option{-D}|@option{--use-dynamic}]
- [@option{-x} <number>|@option{--hex-dump=}<number>]
+ [@option{-x} <number or name>|@option{--hex-dump=}<number or name>]
[@option{-w[liaprmfFsoR]}|
@option{--debug-dump}[=line,=info,=abbrev,=pubnames,=aranges,=macro,=frames,=frames-interp,=str,=loc,=Ranges]]
[@option{-I}|@option{-histogram}]
@@ -3444,9 +3444,11 @@ When displaying symbols, this option makes @command{readelf} use the
symbol table in the file's dynamic section, rather than the one in the
symbols section.
-@item -x <number>
-@itemx --hex-dump=<number>
+@item -x <number or name>
+@itemx --hex-dump=<number or name>
Displays the contents of the indicated section as a hexadecimal dump.
+A number identifies a particular section by index in the section table;
+any other string identifies all sections with that name in the object file.
@item -w[liaprmfFsoR]
@itemx --debug-dump[=line,=info,=abbrev,=pubnames,=aranges,=macro,=frames,=frames-interp,=str,=loc,=Ranges]