[RFA] Breakpoint instruction

Keith Seitz keiths@redhat.com
Thu Oct 12 19:51:00 GMT 2006


Hello,

This is the patch for which many have been waiting. It adds a breakpoint 
instruction to the interpreter and an associated method to install 
breakpoints at a given code index. Actual breakpoint handling in the 
interpreter will come in a follow-on patch (or several of them, actually).

Keith

ChangeLog
2006-10-12  Keith Seitz  <keiths@redhat.com>

         * include/java-insns.h (enum java_code): Add op_breakpoint.
         * include/java-interp.h (_Jv_InterpMethod): Declare 
breakpoint_insn.
         [INTERPRETER]: Declare _Jv_InterpMethod::bp_insn_slot.
         [!INTERPRETER]: Declare _Jv_InterpMethod::bp_insn_opcode.
         (install_break): Declare.
         * interpret.cc (breakpoint_insn): Define breakpoint insn.
         (compile): Add op_breakpoint to "can't happen" cases.
         [INTERPRETER] Initialize breakpoint insn if necesasry.
         (install_break): New method.
         * interpret-run.cc: Add op_breakpoint to insn_targets.
         Add insn_breakpoint label.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bp-insn.patch
Type: text/x-patch
Size: 3572 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20061012/5c616691/attachment.bin>


More information about the Java-patches mailing list