dmp960/gdmp960 Dumper/Disassembler
The dumper/disassembler provides access to binary information
in executable or relocatable object files. The dmp960/gdmp960
utility combines the features of traditional disassemblers and
dumpers.
The invocation command is:
- dmp960
| gdmp960 [ option ]... file...
The options (listed below) either select which part of the object
file to display, or control the formatting of the display. The
default selection option is d,
which dumps the sections of an object file that are loaded in
target memory. Each option must be preceded by a -
character. (On DOS, you can also use a /
character.)
- a
Dump (disassemble) all the sections in an object
file. Use this to examine the raw DWARF information in a file.
The default is to dump only those sections loaded in target memory.
- c
Dump the string table.
- D
Dump section contents as if it were a data section,
in hexadecimal bytes. Applies only to the d
option.
- d
Dump the contents of all sections loaded into target
memory. This is the default. In the absence of conflicting formatting
options, text sections are disassembled into assembly language
instructions, and data sections are dumped as hexadecimal bytes.
- F function
Disassemble only the named COFF or ELF function.
Applies only to the d
option.
- f
Display the file header.
- g[arg]
Display one or more .debug_*
sections. arg
can be:
i dump
.debug_info
l dump
.debug_line
f dump .debug_frame
p dump
.debug_pubnames
a dump
.debug_aranges
m dump
.debug_macinfo
A dump
all .debug_*
sections
- h
Displays the COFF section headers.
- help
Prints help information to stdout
and exits.
- i
Display the COFF optional header.
- l
Displays COFF line number entries.
- m
Displays the memory map (section layout) of the
file.
- n section
Dumps only the named section. Applies to whatever
option is in effect.
- o
Prints addresses in octal instead of hexadecimal.
- p
Suppresses headers. Prints just the information
requested.
- q
Queries the file and display its type.
- r
Dumps relocation entries.
- s
Performs symbolic disassembly. Displays labels
symbolically instead of numerically whenever possible. Applies
only to the d
option.
- T
Dumps section contents as if it were a text section.
(Disassembles it into assembly language instructions.) Applies
only to the d
option.
- t
Dumps the b.out or COFF symbol table.
- V
Prints version information to stdout
and continues.
- v960
Prints version information to stdout
and exits.
- x
Suppresses symbolic translation of COFF symbol
types and storage classes. Prints a symbol's type and storage
class numerically. Applies only to the t
option.
- z
Suppresses zeros when displaying text section
contents. The default is to translate zeros into .word
directives when disassembling text sections. Applies only to the
d option.
Return
to the top of this page.
Go
to the ic960 Interface Index.
Go
to the gcc960 Interface Index.