View Single Post

   
  #2 (permalink)  
Old 01-17-2008, 06:35 AM
Paul Pluzhnikov
 
Posts: n/a
Default Re: JDK on HP-UX : Attaching shared libraries so that they arevisible to gdb

bnswami@gmail.com writes:

> 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>


Depending on your version of java, <path_to_java_exe>/java
may be an actual executable (I believe with Java 1.4 and above),
or a shell script.

In the latter case, actual (native) java binary is elsewhere,
e.g. /opt/java1.3/bin/PA_RISC/native_threads/java and you must give
gdb *that* path; not the path to the shell wrapper.

> My questions are this:


Both of your questions are answered with "this already supposed to
happen automatically" (provided you invoked gdb correctly).

Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
Reply With Quote