This is the mail archive of the 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 Thu, 2012-02-09 at 13:33 -0500, Daniel Jacobowitz wrote:
> On Thu, Feb 9, 2012 at 11:16 AM, Gary Benson <> 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?

On google, the keywords 'java debugger interface' points at some
"standardised" documents (including a "wire protocol") aiming at
connecting a debugger to a JVM.


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