java-interp.h (_Jv_InterpFrame): Add pointer to the interpreter PC.
authorKyle Galloway <kgallowa@redhat.com>
Mon, 23 Apr 2007 17:30:29 +0000 (17:30 +0000)
committerKyle Galloway <kgallowa@gcc.gnu.org>
Mon, 23 Apr 2007 17:30:29 +0000 (17:30 +0000)
commitd76473618c43c7a073359a300113fa5cf21fd999
tree81048b7fa6e216d50f6149770c8a5fe429e8072d
parent34a7526e36dae962cea221b99fb4124b79895fce
java-interp.h (_Jv_InterpFrame): Add pointer to the interpreter PC.

2007-04-23  Kyle Galloway  <kgallowa@redhat.com>

* include/java-interp.h (_Jv_InterpFrame): Add pointer to the
interpreter PC.
(<init>): Add a pointer to the interpreter PC as a parameter with
default value NULL.
(get_pc): New method.
* interpret-run.cc: If debugging, pass a pointer to the PC when
creating the stack frame.
* jvmti.cc (_Jv_JVMTI_GetStackTrace): Call _Jv_InterpFrame::get_pc
to get the PC.

From-SVN: r124076
libjava/ChangeLog
libjava/include/java-interp.h
libjava/interpret-run.cc
libjava/jvmti.cc