OSDN Git Service

* include/java-interp.h (breakpoint_at): Declare.
authorkseitz <kseitz@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 16 May 2007 20:13:52 +0000 (20:13 +0000)
committerkseitz <kseitz@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 16 May 2007 20:13:52 +0000 (20:13 +0000)
        * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124778 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/gnu/classpath/jdwp/VMVirtualMachine.java

index a1249d1..91e9965 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 ();
 
   /**