]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
java-interp.h (breakpoint_at): Declare.
authorKeith Seitz <kseitz@gcc.gnu.org>
Wed, 16 May 2007 20:13:52 +0000 (20:13 +0000)
committerKeith Seitz <kseitz@gcc.gnu.org>
Wed, 16 May 2007 20:13:52 +0000 (20:13 +0000)
        * 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

index a1249d1938e3e7a9a317de59f6ae6f396d1c5c5d..91e9965d0e24bcb5045390b56c196fead1849593 100644 (file)
@@ -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 ();
 
   /**