This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GDB and the OpenJDK JVM


On Mon, Feb 13, 2012 at 1:56 PM, Tom Tromey <tromey@redhat.com> wrote:
>>>>>> "Daniel" == Daniel Jacobowitz <drow@false.org> writes:
>
> Daniel> I'll do it if I have to, but I'd rather rely on the symbol table
> Daniel> of the JDK and manually maintained code.
>
> The new JIT API in gdb may be what you want. ?You can write a .so that
> ships with the JDK that knows about JDK internals, but that plugs into
> gdb. ?It doesn't expose everything, but I think would be sufficient for
> unwinding.

Neat!  I was going to say "no, the JIT API is too limited" but I'm
glad I looked first :-)  It looks like there's no NEWS entry for
Sanjoy's work, so I missed it the first time.

I wonder if this API could be implemented in Python...

-- 
Thanks,
Daniel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]