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/objdump.1 | |
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/objdump.1')
-rw-r--r-- | binutils/objdump.1 | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/binutils/objdump.1 b/binutils/objdump.1 index f5beb33..6b73cb9d 100644 --- a/binutils/objdump.1 +++ b/binutils/objdump.1 @@ -46,6 +46,12 @@ objdump \- display information from object files. .RB "[\|" \-t | \-\-syms "\|]" .RB "[\|" \-T | \-\-dynamic\-syms "\|]" .RB "[\|" \-x | \-\-all\-headers "\|]" +.RB "[\|" "\-\-start\-address="\c +.I address\c +\&\|] +.RB "[\|" "\-\-stop\-address="\c +.I address\c +\&\|] .RB "[\|" \-\-version "\|]" .RB "[\|" \-\-help "\|]" .I objfile\c @@ -245,6 +251,28 @@ entries are interleaved with linkage symbols, and are visible in the \-\-syms output. .TP +.BI "\-\-start\-address=" "address" +Start displaying data at the specified address. This affects the output +of the +.B \-d\c +, +.B \-r +and +.B \-s +options. + +.TP +.BI "\-\-stop\-address=" "address" +Stop displaying data at the specified address. This affects the output +of the +.B \-d\c +, +.B \-r +and +.B \-s +options. + +.TP .B \-t .TP .B \-\-syms |