diff options
author | Keith Seitz <keiths@redhat.com> | 2007-05-16 20:12:33 +0000 |
---|---|---|
committer | Keith Seitz <kseitz@gcc.gnu.org> | 2007-05-16 20:12:33 +0000 |
commit | 8faab1f43bae896cd4fab5aa3e1e4dbfa16e2396 (patch) | |
tree | 488fc8a0b082ccaaae84342b96cdeb39d5b5ac8e /libjava/include | |
parent | c747a42fb45a98b4f530aaf754ee94353ad0d632 (diff) | |
download | gcc-8faab1f43bae896cd4fab5aa3e1e4dbfa16e2396.zip gcc-8faab1f43bae896cd4fab5aa3e1e4dbfa16e2396.tar.gz gcc-8faab1f43bae896cd4fab5aa3e1e4dbfa16e2396.tar.bz2 |
java-interp.h (breakpoint_at): Declare.
* include/java-interp.h (breakpoint_at): Declare.
* interpret.cc (breakpoint_at): New function.
* gnu/classpath/jdwp/VMVirtualMachine.java (_event_list):
New member.
* gnu/classpath/jdwp/natVMVirtualMachine.cc (initialize):
Initialize _event_list.
(handle_single_step): If there is a breakpoint at the
location at which we are stopping, do not send the notification.
Instead add the event to a list of events that occur at this
location.
(jdwpBreakpointCB): If the event list is not empty, send
whatever events are in it and the breakpoint event in a single
notification.
Mark parameter jni_env as MAYBE_UNUSED.
* classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
Regenerated.
* gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
From-SVN: r124777
Diffstat (limited to 'libjava/include')
-rw-r--r-- | libjava/include/java-interp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libjava/include/java-interp.h b/libjava/include/java-interp.h index 4bded04..52a04e7 100644 --- a/libjava/include/java-interp.h +++ b/libjava/include/java-interp.h @@ -274,6 +274,9 @@ class _Jv_InterpMethod : public _Jv_MethodBase the insn or NULL if index is invalid. */ pc_t set_insn (jlong index, pc_t insn); + // Is the given location in this method a breakpoint? + bool breakpoint_at (jlong index); + #ifdef DIRECT_THREADED friend void _Jv_CompileMethod (_Jv_InterpMethod*); #endif |