View Single Post

   
  #1 (permalink)  
Old 01-17-2008, 05:35 AM
bnswami@gmail.com
 
Posts: n/a
Default JDK on HP-UX : Attaching shared libraries so that they are visible to gdb

Hi,
I'm trying to debug a java core on HP-UX 11iv2 (PA-RISC) .The core is a
PA1.1 binary file.
I am debugging using the following steps.
invoke gdb with $gdb <path_to_java_exe>/java <core_file_name>

Then i get a message saying "could not load shared libraries"

My questions are this:
1.How do we attach shared libraries to a running process ,so that the
core file produced
*WILL* contain shared library information,which will be visible to
gdb?

2.Is there any utility/command within gdb to do this(grab the shared
libraries into the process space while the process is running) - I have
heard there is ,but don't seem to be able to spot it from gdb help.

Appreciate any pointers to this information.
Thanks in advance,
bnswami

Reply With Quote