* 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
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| event | Loading commit data... | |
| exception | Loading commit data... | |
| id | Loading commit data... | |
| processor | Loading commit data... | |
| transport | Loading commit data... | |
| util | Loading commit data... | |
| value | Loading commit data... | |
| Jdwp$1.h | Loading commit data... | |
| Jdwp.h | Loading commit data... | |
| JdwpConstants$ClassStatus.h | Loading commit data... | |
| JdwpConstants$CommandSet$ArrayReference.h | Loading commit data... | |
| JdwpConstants$CommandSet$ArrayType.h | Loading commit data... | |
| JdwpConstants$CommandSet$ClassLoaderReference.h | Loading commit data... | |
| JdwpConstants$CommandSet$ClassObjectReference.h | Loading commit data... | |
| JdwpConstants$CommandSet$ClassType.h | Loading commit data... | |
| JdwpConstants$CommandSet$Event.h | Loading commit data... | |
| JdwpConstants$CommandSet$EventRequest.h | Loading commit data... | |
| JdwpConstants$CommandSet$Field.h | Loading commit data... | |
| JdwpConstants$CommandSet$InterfaceType.h | Loading commit data... | |
| JdwpConstants$CommandSet$Method.h | Loading commit data... | |
| JdwpConstants$CommandSet$ObjectReference.h | Loading commit data... | |
| JdwpConstants$CommandSet$ReferenceType.h | Loading commit data... | |
| JdwpConstants$CommandSet$StackFrame.h | Loading commit data... | |
| JdwpConstants$CommandSet$StringReference.h | Loading commit data... | |
| JdwpConstants$CommandSet$ThreadGroupReference.h | Loading commit data... | |
| JdwpConstants$CommandSet$ThreadReference.h | Loading commit data... | |
| JdwpConstants$CommandSet$VirtualMachine.h | Loading commit data... | |
| JdwpConstants$CommandSet.h | Loading commit data... | |
| JdwpConstants$Error.h | Loading commit data... | |
| JdwpConstants$EventKind.h | Loading commit data... | |
| JdwpConstants$InvokeOptions.h | Loading commit data... | |
| JdwpConstants$ModKind.h | Loading commit data... | |
| JdwpConstants$StepDepth.h | Loading commit data... | |
| JdwpConstants$StepSize.h | Loading commit data... | |
| JdwpConstants$SuspendPolicy.h | Loading commit data... | |
| JdwpConstants$SuspendStatus.h | Loading commit data... | |
| JdwpConstants$Tag.h | Loading commit data... | |
| JdwpConstants$ThreadStatus.h | Loading commit data... | |
| JdwpConstants$TypeTag.h | Loading commit data... | |
| JdwpConstants$Version.h | Loading commit data... | |
| JdwpConstants.h | Loading commit data... | |
| VMFrame.h | Loading commit data... | |
| VMFrame.java | Loading commit data... | |
| VMIdManager$IdFactory.h | Loading commit data... | |
| VMIdManager$ReferenceKey.h | Loading commit data... | |
| VMIdManager.h | Loading commit data... | |
| VMIdManager.java | Loading commit data... | |
| VMMethod.h | Loading commit data... | |
| VMMethod.java | Loading commit data... | |
| VMVirtualMachine.h | Loading commit data... | |
| VMVirtualMachine.java | Loading commit data... | |
| natVMFrame.cc | Loading commit data... | |
| natVMMethod.cc | Loading commit data... | |
| natVMVirtualMachine.cc | Loading commit data... |