Tools: Debugging Native and Java Code with WDB

Page 7
Tools for
Debugging
© 2001 Hewlett-Packard Company
gdb: Start-up
Specify Java Unwind Library Location
gdb support supplied as a shared library
The library supporting Java unwind must be specified
Set the environment variable:
GDB_JAVA_UNWINDLIB
For example:
export GDB_JAVA_UNWINDLIB=<path>/libjunwind.sl
For this presentation we will put the library in /tmp:
export GDB_JAVA_UNWINDLIB=/tmp/libjunwind.sl