* include/java-stack.h (ncodeMap): Declare.
(_Jv_StackTrace): Make _Jv_GetMethodDeclaringClass friend. * java/lang/Class.h (_Jv_GetMethodDeclaringClass): Declare. * java/lang/natClass.cc (_Jv_GetMethodDeclaringClass): New function. * stacktrace.cc (ncodeMap): Redefine from file global to global for class _Jv_StackTrace. (_Jv_StackTrace::UpdateNCodeMap): Add interpreted classes, too, so that _Jv_GetMethodDeclaringClass can find them all. (_Jv_StackTrace::ClassForFrame): Exclude interpreted classes. * jvmti.cc (_Jv_JVMTI_GetMethodDeclaringClass): New function. (_Jv_JVMTI_Interface): Define GetMethodDeclaringClass function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118100 138bc75d-0d04-0410-961f-82ee72b054a4
Showing
- libjava/ChangeLog 15 additions, 0 deletionslibjava/ChangeLog
- libjava/include/java-stack.h 4 additions, 1 deletionlibjava/include/java-stack.h
- libjava/java/lang/Class.h 4 additions, 0 deletionslibjava/java/lang/Class.h
- libjava/java/lang/natClass.cc 9 additions, 0 deletionslibjava/java/lang/natClass.cc
- libjava/jvmti.cc 19 additions, 1 deletionlibjava/jvmti.cc
- libjava/stacktrace.cc 22 additions, 18 deletionslibjava/stacktrace.cc
Loading
Please register or sign in to comment