gdb and OpenJDK
Alexander Smundak
asmundak at google.com
Tue Mar 3 00:59:21 UTC 2015
I have posted a very preliminary version of the Python module
that provides the ability to walk JVM frames in GDB and show
them as Java frames (i.e., Java method names and arguments):
http://cr.openjdk.java.net/~asmundak/gdbunwind/hotspot/webrev.00/agent/src/os/linux/gdb/libjvm.so-gdb.py.html
If you want to play with it, you will need to apply my proposed GDB patch
(see the attachment to
https://sourceware.org/ml/gdb-patches/2015-02/msg00735.html),
and then follow the instructions in the source file.
I'll keep posting the new versions of this code in
http://cr.openjdk.java.net/~asmundak/gdbunwind/hotspot/webrev.01/
as they become available.
On Fri, Feb 20, 2015 at 7:22 AM, Phil Muldoon <pmuldoon at redhat.com> wrote:
>>> On Mon, Feb 16, 2015 at 2:52 AM, Andrew Haley <aph at redhat.com> wrote:
>>> It would be, long term. I've been discussing this with Red Hat's GDB
>>> group and I'm hoping to come up with a proposal and hopefully some
>>> working code.
>> I have the enabling patch to GDB being reviewed at a glacial pace (see
>> https://sourceware.org/ml/gdb-patches/2014-12/msg00408.html). Perhaps
>> Red Hat's GDB group can respond there?
>
> Please accept my apologies for first posting out-of-thread. I did not
> have the original email context with headers to post in-thread. So,
> heads-up, I broke email threading in this reply.
>
> Second, again, apologies for the speed of the review. Christmas, and
> we've all been busy. I see Doug is looking at it now, and I have also
> asked some questions of the patch.
>
> I find the functionality very useful. Hopefully it will progress soon
> and be committed.
>
> Cheers
>
> Phil
>
More information about the serviceability-dev
mailing list