aboutsummaryrefslogtreecommitdiff
path: root/binutils/binutils.texi
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-01-29 18:58:04 +0000
committerIan Lance Taylor <ian@airs.com>1997-01-29 18:58:04 +0000
commit51b8c416772b4e6c51495c2b54f8732c4b2a513b (patch)
tree3e62bce9cc4cc55d2ec5bcedfa1033e9cf9bb451 /binutils/binutils.texi
parent7e2b3363f1779af16b12b9ff1c5fa8ae0aa5d959 (diff)
downloadgdb-51b8c416772b4e6c51495c2b54f8732c4b2a513b.zip
gdb-51b8c416772b4e6c51495c2b54f8732c4b2a513b.tar.gz
gdb-51b8c416772b4e6c51495c2b54f8732c4b2a513b.tar.bz2
* objdump.c (objdump_print_value): Add skip_zeroes parameter.
Change all callers. (objdump_print_addr_with_sym): Likewise. Call objdump_print_value to print address. (objdump_print_addr): New static function. (objdump_print_address): Just call objdump_print_addr. (disassemble_bytes): Print real address, not function offset. Skip a certain number of leading zeroes. * objdump.c (disassemble_zeroes): New static variable. (usage): Mention --disassemble-zeroes. (long_options): Add "disassemble-zeroes". (disassemble_bytes): Check disassemble_zeroes. Changes requested by LSI.
Diffstat (limited to 'binutils/binutils.texi')
-rw-r--r--binutils/binutils.texi14
1 files changed, 10 insertions, 4 deletions
diff --git a/binutils/binutils.texi b/binutils/binutils.texi
index 08666cc..9d88a60 100644
--- a/binutils/binutils.texi
+++ b/binutils/binutils.texi
@@ -1038,6 +1038,7 @@ Show a summary of the options to @code{objcopy}.
objdump [ -a | --archive-headers ]
[ -b @var{bfdname} | --target=@var{bfdname} ] [ --debugging ]
[ -d | --disassemble ] [ -D | --disassemble-all ]
+ [ --disassemble-zeroes ]
[ -EB | -EL | --endian=@{big | little @} ]
[ -f | --file-headers ]
[ -h | --section-headers | --headers ] [ -i | --info ]
@@ -1112,6 +1113,15 @@ expected to contain instructions.
Like @samp{-d}, but disassemble the contents of all sections, not just
those expected to contain instructions.
+@item --prefix-addresses
+When disassembling, print the complete address on each line. This is
+the older disassembly format.
+
+@item --disassemble-zeroes
+Normally the disassembly output will skip blocks of zeroes. This
+option directs the disassembler to disassemble those blocks, just like
+any other data.
+
@item -EB
@itemx -EL
@itemx --endian=@{big|little@}
@@ -1174,10 +1184,6 @@ can be useful when disasembling object files which do not describe
architecture information, such as S-records. You can list the available
architectures with the @samp{-i} option.
-@item --prefix-addresses
-When disassembling, print the complete address on each line. This is
-the older disassembly format.
-
@item -r
@itemx --reloc
@cindex relocation entries, in object file