Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

a.out(4)

ar(4)

DUMP(1)  —  Silicon Graphics not on PDP-11

NAME

dump − dump selected parts of an object file

SYNOPSIS

dump [−a] [−f] [−o] [−h] [−s] [−r] [−l] [−t] [−z name] files

DESCRIPTION

The dump command dumps selected parts of each of its object file arguments. 

This command will accept both object files and archives of object files.  It processes each file argument according to one or more of the following options:

−a Dump the archive header of each member of each archive file argument. 

−f Dump each file header. 

−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. 

The following modifiers are used in conjunction with the 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 entity.  This modifier applies to −h, −s, −r, −l, and −t. 

−t index Dump only the indexed symbol table entry.  The −t used in conjunction with +t, specifies 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 specified by the −t option. 

−v Dump information in symbolic representation rather than numeric (e.g., C_STATIC instead of 0X02).  This modifier can be used with all the above options except −s and −o 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 an option and its modifier are optional.  The comma separating the name from the number modifying the −z 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 character, hex, octal or decimal representation as appropriate. 

SEE ALSO

a.out(4), ar(4). 

Version 2.1  —  January 02, 1985

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