UNSTRIP(1) COMMAND REFERENCE UNSTRIP(1) NAME unstrip - add symbol table and relocation bits to a stripped file SYNOPSIS unstrip [ -O suffix ] [ -S suffix ] [ -o ] [ -v ] file ... DESCRIPTION Unstrip adds the symbol table and relocation bits to a file that is the output of the assembler and loader that has been stripped. This is useful when debugging a program that has been stripped with strip. To use unstrip, you must have a symbol table file for the stripped file; such as produced by strip -s. OPTIONS -O suffix Create an output file named filesuffix that is an unstripped version of file. The input file is left stripped. -S suffix Symbol file table is named filesuffix. If you don't use this option, unstrip looks for a symbol table file named file.symtab. -o Create an output file named file.unstripped that is an unstripped version of file. The input file is left stripped. -v Verbose. Reports the names of all input, output, and symbol table files used. EXAMPLES The following invocation adds the symbol table and relocation bits to the file cmd from the file cmd.symtab and prints messages telling you what it did: unstrip -v cmd The following invocation creates an unstripped version of the file cmd in a file named cmd.out. The symbol table information is taken from cmd.symbols. unstrip -O ".out" -S ".symbols" cmd FILES /tmp/stm? Temporary file RETURN VALUE [NO_ERRS] Command completed without error. Printed 5/12/88 1
UNSTRIP(1) COMMAND REFERENCE UNSTRIP(1) [NP_WARN] An error warranting a warning message occurred. Execution continues. [P_WARN] A system error occurred. Execution continues. See intro(2) for more information on system errors. [P_ERR] A system error occurred. Execution terminated. See intro(2) for more information on system errors. SEE ALSO ld(1), strip(1), and a.out(5). Printed 5/12/88 2
%%index%% na:312,122; sy:434,336; de:770,744; op:1514,909; ex:2423,562; fi:2985,99; rv:3084,176;3644,454; se:4098,182; %%index%%000000000142