Tools: Debugging Native and Java Code with WDB

Page 22
Tools for
Debugging
© 2001 Hewlett-Packard Company
gdb
Starting Java from gdb: Attach
export DEBUG_PROG=/opt/langtools/bin/gdb
export GDB_JAVA_UNWINDLIB=/tmp/libjunwind.sl
/opt/java1.3/bin/java
HP gdb 3.0 for PA-RISC 1.1 or 2.0 (narrow), HP-UX 11.00.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 3.0 (based on GDB) is covered by the
GNU General Public License. Type "show copying" to see the conditions to
change it and/or distribute copies. Type "show warranty" for warranty/support.
..(no debugging symbols found)...
(gdb) attach 24037
Attaching to program: /opt/java1.3/bin/PA_RISC2.0/native_threads/java, process
24037
Reading symbols from /opt/java1.3/bin/PA_RISC2.0/native_threads/java...(no
debugging symbols found)...done.
Reading symbols from /opt/java1.3/jre/lib/PA_RISC2.0/server/libjvm.sl...(no
debugging symbols found)...done.