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: Hotspot JVM GDBJIT plugin


On Fri, May 25, 2012 at 7:36 AM, Tom Tromey <tromey@redhat.com> wrote:
> Sure. ?Just send individual patches following the contribution
> instructions...
>
Will do.

> Phil has been working on a related feature in gdb, called "frame
> filters". ?Frame filters let you write Python code to modify frames as
> they are being displayed; you can change nearly any aspect of a frame,
> and even insert and delete frames. ?The primary use case for this
> feature is displaying better stack traces in interpreters.
>
This was exactly what I was looking for when I started and since Python scripts
couldn't do it at the time, I wrote a JIT reader. I have a few questions though:

With frame filters, would JIT readers still be necessary to unwind the
frame or is
that done from Python too?
If they're not, are JIT readers going to be supported going forward?
When is this expected to hit trunk?

   -Kaushik


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