Tools: Debugging Native and Java Code with WDB
Page 85
Tools for
Debugging
© 2001 Hewlett-Packard Company
gdb
Debugging a Core File, 1
• For remote analysis
• Need to reproduce environment
– Correct versions of all libraries
• Easy to look at the core file where generated
• All of the libraries are already in place
• Remote problem analysis
• Use gdb to generate a preliminary report
– Stack traces can be used to compare with
known problems
• In the example that follows:
• Core file generated by the 1.3.1.01 JVM
• Signal sent in this case to generate the core