This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: GDB and the OpenJDK JVM
On Thu, Feb 9, 2012 at 11:16 AM, Gary Benson <gbenson@redhat.com> wrote:
> 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.
Thanks! Is there a list you'd recommend?
--
Thanks,
Daniel