Using system dump tools
The commands objdump and nm are used to investigate and display information about system (core) dumps. If a crash occurs and a system dump is produced, these commands help you analyze the file.
About this task
Run these commands on the same workstation as the one that produced the system dumps to use the most accurate symbol information available. This output (together with the system dump, if small enough) is used by the IBM® support team for Java™ to diagnose a problem.
- objdump
Use this command to disassemble shared objects and libraries. After you have discovered which library or object has caused the problem, use objdump to locate the method in which the problem originates. To start objdump, enter:
objdump <option> <filename>
You can see a complete list of options by typing
objdump -H
. The -d option disassembles contents of executable sections- nm
- This command lists symbol names from object files. These symbol
names can be either functions, global variables, or static variables.
For each symbol, the value, symbol type, and symbol name are displayed.
Lowercase symbol types mean the symbol is local, and uppercase means
the symbol is global or external. To use this tool, type:
nm <option> <system dump>
.