diff options
author | Keith Seitz <keiths@redhat.com> | 2007-05-04 01:04:11 +0000 |
---|---|---|
committer | Keith Seitz <kseitz@gcc.gnu.org> | 2007-05-04 01:04:11 +0000 |
commit | befd756626fa71b89c1cd6563d97c968618103f4 (patch) | |
tree | a8f4058c8d5dc274f095fb50893c2f74cfe875a2 /libjava/include/jvmti-int.h | |
parent | 820b51ae16ab41233ef12a8918df61937cfdd8b4 (diff) | |
download | gcc-befd756626fa71b89c1cd6563d97c968618103f4.zip gcc-befd756626fa71b89c1cd6563d97c968618103f4.tar.gz gcc-befd756626fa71b89c1cd6563d97c968618103f4.tar.bz2 |
jvmti-int.h (_Jv_ReportJVMTIExceptionThrow): Declare.
* include/jvmti-int.h (_Jv_ReportJVMTIExceptionThrow):
Declare.
* interpret.cc (_Jv_ReportJVMTIExceptionThrow): New function.
(find_catch_location): New function.
(REPORT_EXCEPTION): New macro.
(throw_internal_error): Use REPORT_EXCEPTION.
(throw_incompatible_class_change_error): Likewise.
(throw_null_pointer_exception): Likewise.
(throw_class_format_error): Likewise.
* interpret-run.cc (INTERP_REPORT_EXCEPTION)[DEBUG]: Set
to REPORT_EXCEPTION.
(INTERP_REPORT_EXCEPTION)[!DEBUG]: Make nop.
(insn_new): Use INTERP_REPORT_EXCEPTION.
(insn_athrow): Likewise.
Remove previous JVMTI exception notifications.
Add JVMTI ExceptionCatch notificatin.
* jni.cc (_Jv_PopSystemFrame): Notify JVMTI clients of
exception throw.
* gnu/gcj/jvmti/ExceptionEvent.java: Removed.
* gnu/gcj/jvmti/ExceptionEvent.h: Removed.
* classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: Removed.
* gnu/classpath/jdwp/natVMVirtualMachine.cc
(jdwpExceptionCB): New function.
(jdwpVMInitCB): Set Exception event handler and enable.
* sources.am: Regenerated.
* Makefile.in: Regenerated.
From-SVN: r124406
Diffstat (limited to 'libjava/include/jvmti-int.h')
-rw-r--r-- | libjava/include/jvmti-int.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libjava/include/jvmti-int.h b/libjava/include/jvmti-int.h index f868655..6b09c83 100644 --- a/libjava/include/jvmti-int.h +++ b/libjava/include/jvmti-int.h @@ -89,4 +89,6 @@ extern void _Jv_JVMTI_PostEvent (jvmtiEvent type, jthread event_thread, ...) // Returns the jvmtiEnv used by the JDWP backend extern jvmtiEnv *_Jv_GetJDWP_JVMTIEnv (void); +// Reports JVMTI excpetions +extern void _Jv_ReportJVMTIExceptionThrow (jthrowable); #endif /* __GCJ_JVMTI_INT_H__ */ |