[RFA] Breakpoint instruction

Keith Seitz keiths@redhat.com
Fri Oct 13 01:03:00 GMT 2006


Tom Tromey wrote:
> Keith>          (compile): Add op_breakpoint to "can't happen" cases.
> 
> Do we need one of these in verify.cc?

Yes, I forgot to include that diff. It is attached.

> Keith>          [INTERPRETER] Initialize breakpoint insn if necesasry.
> 
> Typo in the last word here.

Fixed. Revised ChangeLog below.

Keith

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 necessary.
         (install_break): New method.
         * interpret-run.cc: Add op_breakpoint to insn_targets.
         Add insn_breakpoint label.
         * verify.cc (branch_prepass): Add op_breakpoint to unrecognized
         opcodes section of switch statement.
         (verify_instructions_0): Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bp-insn+.patch
Type: text/x-patch
Size: 836 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20061013/ac7b7f63/attachment.bin>


More information about the Java-patches mailing list