GDB and the OpenJDK JVM
Gary Benson
gbenson@redhat.com
Thu Feb 9 16:16:00 GMT 2012
Hi Daniel,
Daniel Jacobowitz wrote:
> Has anyone investigated non-trivial integration between GDB and this
> (or any other) JVM? So far I haven't turned up anything useful. Some
> examples of the sorts of integration I mean:
>
> * Showing information about Java objects given JNI handles
> * Interleaving Java frames in the stack trace
> * Fabricating unwind information for JIT'd code
> * Automatically handling SEGVs related to the garbage collector
> without hiding SEGVs for native code
I don't know of anybody who has done any work in this area. I do know
that HotSpot has a number of functions designed solely to be called by
debuggers or debug code, and it's possible that #1 and #3 are covered
that way. None of this stuff is documented anywhere I know of so it's
worth asking on one of the HotSpot lists in case somebody can help.
Cheers,
Gary
--
http://gbenson.net/
More information about the Gdb
mailing list