From: Keith Seitz Date: Wed, 16 May 2007 20:13:52 +0000 (+0000) Subject: java-interp.h (breakpoint_at): Declare. X-Git-Tag: releases/gcc-4.3.0~5067 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=31795f25549377f4e18e53c0050eb8066c5a1d29;p=thirdparty%2Fgcc.git 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 --- diff --git a/libjava/gnu/classpath/jdwp/VMVirtualMachine.java b/libjava/gnu/classpath/jdwp/VMVirtualMachine.java index a1249d1938e3..91e9965d0e24 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 (); /**