From 957ad449a65ba4b5bd771e22629fa94e6ffbe7a1 Mon Sep 17 00:00:00 2001 From: kseitz Date: Sat, 14 Oct 2006 20:11:12 +0000 Subject: * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117734 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/interpret-run.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'libjava/interpret-run.cc') diff --git a/libjava/interpret-run.cc b/libjava/interpret-run.cc index afabad26994..26cc4a616dd 100644 --- a/libjava/interpret-run.cc +++ b/libjava/interpret-run.cc @@ -217,7 +217,7 @@ details. */ INSN_LABEL(invokespecial), INSN_LABEL(invokestatic), INSN_LABEL(invokeinterface), - 0, /* Unused. */ + INSN_LABEL (breakpoint), INSN_LABEL(new), INSN_LABEL(newarray), INSN_LABEL(anewarray), @@ -2463,6 +2463,11 @@ details. */ } #endif /* DIRECT_THREADED */ + + insn_breakpoint: + { + // nothing just yet + } } catch (java::lang::Throwable *ex) { -- cgit v1.2.3