[RFA] [Un]Register single step

Keith Seitz keiths@redhat.com
Thu Feb 8 19:20:00 GMT 2007


Hi,

The attached patch implements the JDWP side of single step event 
registration (and "unregistration"). Most of what it does is simply 
massaging data received from the JDWP backend (in classpath) and store 
it in a more useful form (along with some new data) to facilitate 
decision making during single stepping. [You get to see how that's done 
when I submit the related callback function.]

Comments/questions/concerns?

Keith

ChangeLog
2007-02-08  Keith Seitz  <keiths@redhat.com>

         * gnu/classpath/jdwp/VMVirtualMachine.java
         (_stepping_threads): New member.
         * gnu/classpath/jdwp/VMVirtualMachine.class:
         Regenerated.
         * gnu/classpath/jdwp/VMVirtualMachine.h:
         Regenerated.
         * gnu/claspath/jdwp/natVMVirtualMachine.cc
         (get_request_step_filter): New function.
         (DISABLE_EVENT): New macro.
         (initialize): Initialize _stepping_threads.
         (registerEvent): Implement EVENT_SINGLE_STEP.
         (unregisterEvent): Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: register-step.patch
Type: text/x-patch
Size: 5533 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20070208/fe2fe587/attachment.bin>


More information about the Java-patches mailing list