diff options
author | Kyle Galloway <kgallowa@redhat.com> | 2007-02-16 00:05:39 +0000 |
---|---|---|
committer | Kyle Galloway <kgallowa@gcc.gnu.org> | 2007-02-16 00:05:39 +0000 |
commit | 7a1bf87c6e856bbccc6b771834588803f518cd54 (patch) | |
tree | 7b7a9e88310e312e8a488c89edfc65e8dd555cfc /libjava/include/java-interp.h | |
parent | 5039610b9630459799b24f64fb9ffdd810b8eee9 (diff) | |
download | gcc-7a1bf87c6e856bbccc6b771834588803f518cd54.zip gcc-7a1bf87c6e856bbccc6b771834588803f518cd54.tar.gz gcc-7a1bf87c6e856bbccc6b771834588803f518cd54.tar.bz2 |
interpret.cc (_Jv_InterpMethod::check_handler): New method.
2007-02-15 Kyle Galloway <kgallowa@redhat.com>
* interpret.cc (_Jv_InterpMethod::check_handler): New method.
* interpret-run.cc: Change the catch section to report exception
events and to use the new check_handler method.
* include/java-interp.h (_Jv_InterpMethod): Add check_handler.
* gnu/gcj/jvmti/ExceptionEvent.java: New file.
* gnu/gcj/jvmti/ExceptionEvent.h: New file.
* gnu/gcj/jvmti/natExceptionEvent.cc: New file.
* libjava/classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: New
file.
* sources.am: Added ExceptionEvent.java.
* Makefile.am: Added natExceptionEvent.cc
* Makefile.in: Regenerated.
* include/Makefile.in: Regenerated.
* gcj/Makefile.in: Regenerated.
From-SVN: r122019
Diffstat (limited to 'libjava/include/java-interp.h')
-rw-r--r-- | libjava/include/java-interp.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libjava/include/java-interp.h b/libjava/include/java-interp.h index 40c3b28..e23baab 100644 --- a/libjava/include/java-interp.h +++ b/libjava/include/java-interp.h @@ -229,6 +229,11 @@ class _Jv_InterpMethod : public _Jv_MethodBase // Convenience function for indexing bytecode PC/insn slots in // line tables for JDWP jlong insn_index (pc_t pc); + + // Helper function used to check if there is a handler for an exception + // present at this code index + jboolean check_handler (pc_t *pc, _Jv_InterpMethod *meth, + java::lang::Throwable *ex); /* Get the line table for this method. * start is the lowest index in the method |