inspecting hotspot code using gdb

Ben Cheng bccheng at google.com
Thu Oct 18 17:48:23 PDT 2007


Hello,

I tried to set a breakpoint in a Hotspot function, say
"ciEnv::register_method", under gdb, but gdb couldn't seem to find the
symbols. I am using my locally built libjvm.so so symbols should be there,
so I am thinking that feeding the java launcher to gdb is the wrong thing to
do here.

Can someone explain the procedures to debug hotspot under gdb?

Thanks,
-Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-dev/attachments/20071018/0c037417/attachment.html 


More information about the hotspot-dev mailing list