| parrotcode: Display symbol table information | |
| Contents | Tools |

tools/dev/nm.pl - Display symbol table information

% perl tools/dev/nm.pl [options] file
To list all the symbols in Parrot:
% perl tools/dev/nm.pl parrot

Portable frontend for nm(1); by default lists all the code and data symbols in the object or archive files.

The following options can be used to limit the symbols:
--code-c--data-d--init-i--uninit-u--const-Cnm if you want this feature.--undef-U--def-D--file-fIf more than one of all the above options are given, they are ANDed. They can also be negated with a "no", for example --noconst.
--objectname-o--t B - uninitialised data symbol
D - initialised data symbol
F - file name symbol
R - read-only data symbol
T - code/text symbol
U - undefined symbol
--type=bsd-B--t.--type=long-L--help--versionAll the options can be shortened to their unique prefixes, and one leading dash ("-") can be used instead of two ("--").

Author: Jarkko Hietaniemi.
|
|
|