Tools: Debugging Native and Java Code with WDB
Page 90
Tools for
Debugging
© 2001 Hewlett-Packard Company
gdb
Debugging a Core File, 6
• Use following command to view all thread stacks:
(gdb) set pagination off
(gdb) thread apply all bt
• Remote analysis
• Direct the output to a file using:
(gdb) set redirect-file <filename>
(gdb) set redirect on
(gdb) thread apply all bt
• To return the display to the debugger:
(gdb) set redirect off