attdump(1) DG/UX 4.30 attdump(1)
NAME
att_dump - dump parts of an object or object archive file
SYNOPSIS
attdump [ options ] files
DESCRIPTION
The attdump command dumps selected parts of each of its
file arguments.
This command will accept object 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.
-g Dump the global symbols in the symbol table of an
archive.
-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.
-c Dump the string table.
-L Interpret and print the contents of the .lib
sections.
The following modifiers are used in conjunction with the
options listed above to modify their capabilities.
-d index
Dump only the indexed section. The -d option used in
conjunction with +d specifies a range of sections.
+d index
Dump the sections in the range ending with the indexed
section. The range begins at the first section or at
the section specified by the -d option.
Licensed material--property of copyright holder(s) Page 1
attdump(1) DG/UX 4.30 attdump(1)
-n name
Dump information pertaining only to the named entity.
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. The -t
option, 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.
-u Underline the name of the file for emphasis.
-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.
-z name,number
Dump the line number entry or range of line numbers
starting at number for the named function.
+z number
Dump the line number entries starting at either
function name or line 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 attdump command attempts to format the information it
dumps in a meaningful way, printing certain information in
character, hex, octal, or decimal representation as
appropriate.
Although the command produces no output when invoked without
options, it does serve to verify that a file is an object,
executable, or archive of an object or executable.
SEE ALSO
a.out(4), ar(4).
Licensed material--property of copyright holder(s) Page 2