From 31795f25549377f4e18e53c0050eb8066c5a1d29 Mon Sep 17 00:00:00 2001 From: Keith Seitz Date: Wed, 16 May 2007 20:13:52 +0000 Subject: [PATCH] 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: r124778 --- libjava/gnu/classpath/jdwp/VMVirtualMachine.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libjava/gnu/classpath/jdwp/VMVirtualMachine.java b/libjava/gnu/classpath/jdwp/VMVirtualMachine.java index a1249d1938e..91e9965d0e2 100644 --- a/libjava/gnu/classpath/jdwp/VMVirtualMachine.java +++ b/libjava/gnu/classpath/jdwp/VMVirtualMachine.java @@ -83,6 +83,9 @@ public class VMVirtualMachine // List of stepping threads: maps Thread -> stepping info static Hashtable _stepping_threads; + // List of co-located JVMTI events + static ArrayList _event_list; + public static native void initialize (); /**