[RFA] Implement multiple event notifications for JDWP

Keith Seitz keiths@redhat.com
Fri May 4 04:15:00 GMT 2007


Hi,

I committed this patch a little while ago in preparation for fixing a 
"bug" (really an oversight) dealing with single stepping to a line with 
a breakpoint.

Read the gory details here:
http://developer.classpath.org/pipermail/classpath-patches/2007-May/005417.html

Same patch applied to our tree appended.

QCC?

Keith

classpath/ChangeLog
2007-05-03 Keith Seitz  <keiths@redhat.com>

         * gnu/classpath/jdwp/Jdwp.java (notify): Rewrite to call
         new array-based method.
         (notify): New function.
         (sendEvent): Rewrite to use sendEvents.
         (sendEvents): New method.
         * gnu/classpath/jdwp/event/Event.java (toPacket): Make static.
         Change parameters to use arrays for events and requests.
         Add suspendPolicy parameter.
         Move per-event data transformation to...
         (_toData): ... here.
         * gnu/classpath/jdwp/transport/JdwpConnection.java
         (sendEvent): Renamed to ...
         (sendEvents): ... this.
         Change parameters to use arrays for events and requests.
         Add suspendPolicy parameter.

ChangeLog
2007-05-03  Keith Seitz  <keiths@redhat.com>

         * classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerate.
         * classpath/lib/gnu/classpath/jdwp/Jdwp$1.class: Regenerate.
         * classpath/lib/gnu/classpath/jdwp/event/Event.class:
         Regenerate.
         * classpath/lib/gnu/classpath/jdwp/transport/JdwpConnection.class:
         Regenerate.
         * gnu/classpath/jdwp/Jdwp.h: Regenerate.
         * gnu/classpath/jdwp/event/Event.h: Regenerate.
         * gnu/classpath/jdwp/transport/JdwpConnection.h: Regenerate.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cp-multiple-events.patch
Type: text/x-patch
Size: 7249 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20070504/1cf1f031/attachment.bin>


More information about the Java-patches mailing list