Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

as(1)

dis(1)

od(1)

nm(1)

strings(1)

dumpfs(1M)

restore(1M)

a.out(4)

ar(4)




dump(1) dump(1)
NAME dump - dump selected parts of an object file SYNOPSIS dump [[-a] [-c] [-f] [-g] [-h] [-l] [-o] [-r] [-s] [-t] [- z name]] [[-d number] [+d number] [-n name] [-p] [-t index] [+t index] [-u] [-v] [-z name,number] [+z name]] file ... DESCRIPTION The dump command dumps selected parts of each of its object file arguments. This command accepts both object files and archives of ob- ject files. It processes each file argument according to one or more of the following flag options: -a Dump the archive header of each member of each archive file argument. -f Dump each file header. -g Dump the global symbols in the symbol table of a version 6.0 archive. -o Dump each optional header. -h Dump section headers. -s Dump section contents. -r Dump relocation information. -l Dump line number information. -t Dump symbol table entries. -z name Dump line number entries for the named function. -c Dump the string table. The following modifiers are used in conjunction with the flag options listed above to modify their capabilities. -d number Dump the section number or range of sections starting at number and ending either at the last section number or number specified by +d. +d number Dump sections in the range either beginning with first section or beginning with section specified by -d. -n name Dump information pertaining only to the named en- April, 1990 1



dump(1) dump(1)
tity. This modifier applies to -h, -s, -r, -l, and -t. -p Suppress printing of the headers. -t index Dump only the indexed symbol table entry. When the -t is used in conjunction with +t, it speci- fies a range of symbol table entries. +t index Dump the symbol table entries in the range ending with the indexed entry. The range begins at the first symbol table entry or at the entry speci- fied by the -t flag option. -u Underline the name of the file for emphasis. -v Dump information in symbolic representation rath- er than numeric (e.g., C_STATIC instead of 0X02). This modifier can be used with all the above flag options except the -s and -o flag options of dump. -z name,number Dump line number entry or range of line numbers starting at number for the named function. +z number Dump line numbers starting at either function name or number specified by -z, up to number specified by +z. Blanks separating a flag option and its modifier are option- al. The comma separating the name from the number modifying the -z flag option may be replaced by a blank. The dump command attempts to format the information it dumps in a meaningful way, printing certain information in charac- ter, hex, octal, or decimal representation, as appropriate. FILES /bin/dump SEE ALSO as(1), dis(1), od(1), nm(1), strings(1), dumpfs(1M), restore(1M), a.out(4), ar(4). 2 April, 1990

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026