diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-09-13 22:38:55 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-09-13 22:38:55 +0000 |
commit | aa21a2a9ecd87339695d80826e629a7e96506249 (patch) | |
tree | 6d9350958851bbc0eecb1f7db6ef9438dbdaeb37 /binutils/binutils.texi | |
parent | 771e0a5cb015e21bcb34c49e9b4dbc1d8fd2fc9a (diff) | |
download | gdb-aa21a2a9ecd87339695d80826e629a7e96506249.zip gdb-aa21a2a9ecd87339695d80826e629a7e96506249.tar.gz gdb-aa21a2a9ecd87339695d80826e629a7e96506249.tar.bz2 |
* objdump.c (start_address): New variable.
(stop_address): New variable.
(usage): Mention --start-address and --stop-address.
(OPTION_START_ADDRESS, OPTION_STOP_ADDRESS): Define.
(long_options): Add "start-address" and "stop-address".
(disassemble_data): Handle start_address and stop_address.
(dump_data, dump_reloc_set): Likewise.
(main): Don't set seenflag for -l. Handle OPTION_START_ADDRESS
and OPTION_STOP_ADDRESS.
* objcopy.c (parse_vma): Move to bucomm.c.
* bucomm.c (parse_vma): New function, moved in from objcopy.c.
* bucomm.h (parse_vma): Declare.
* binutils.texi, objdump.1: Document new objdump options.
PR 7983.
Diffstat (limited to 'binutils/binutils.texi')
-rw-r--r-- | binutils/binutils.texi | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/binutils/binutils.texi b/binutils/binutils.texi index fef8401..4dba4f5 100644 --- a/binutils/binutils.texi +++ b/binutils/binutils.texi @@ -959,7 +959,9 @@ objdump [ -a | --archive-headers ] [ -r | --reloc ] [ -R | --dynamic-reloc ] [ -s | --full-contents ] [ --stabs ] [ -t | --syms ] [ -T | --dynamic-syms ] [ -x | --all-headers ] - [ -w | --wide ] [ --version ] [ --help ] @var{objfile}@dots{} + [ -w | --wide ] [ --start-address=@var{address} ] + [ --stop-address=@var{address} ] [ --version ] [ --help ] + @var{objfile}@dots{} @end smallexample @code{objdump} displays information about one or more object files. @@ -1106,6 +1108,16 @@ section. In most other file formats, debugging symbol-table entries are interleaved with linkage symbols, and are visible in the @samp{--syms} output. +@item --start-address=@var{address} +@cindex start-address +Start displaying data at the specified address. This affects the output +of the @code{-d}, @code{-r} and @code{-s} options. + +@item --stop-address=@var{address} +@cindex stop-address +Stop displaying data at the specified address. This affects the output +of the @code{-d}, @code{-r} and @code{-s} options. + @item -t @itemx --syms @cindex symbol table entries, printing |