mirror of
https://github.com/qemu/qemu.git
synced 2024-11-30 07:13:38 +08:00
target/alpha: Drop checks for singlestep_enabled
GDB single-stepping is now handled generically. Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
c9460d75c5
commit
1760e4abf1
@ -3005,17 +3005,10 @@ static void alpha_tr_tb_stop(DisasContextBase *dcbase, CPUState *cpu)
|
|||||||
tcg_gen_movi_i64(cpu_pc, ctx->base.pc_next);
|
tcg_gen_movi_i64(cpu_pc, ctx->base.pc_next);
|
||||||
/* FALLTHRU */
|
/* FALLTHRU */
|
||||||
case DISAS_PC_UPDATED:
|
case DISAS_PC_UPDATED:
|
||||||
if (!ctx->base.singlestep_enabled) {
|
tcg_gen_lookup_and_goto_ptr();
|
||||||
tcg_gen_lookup_and_goto_ptr();
|
break;
|
||||||
break;
|
|
||||||
}
|
|
||||||
/* FALLTHRU */
|
|
||||||
case DISAS_PC_UPDATED_NOCHAIN:
|
case DISAS_PC_UPDATED_NOCHAIN:
|
||||||
if (ctx->base.singlestep_enabled) {
|
tcg_gen_exit_tb(NULL, 0);
|
||||||
gen_excp_1(EXCP_DEBUG, 0);
|
|
||||||
} else {
|
|
||||||
tcg_gen_exit_tb(NULL, 0);
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
g_assert_not_reached();
|
g_assert_not_reached();
|
||||||
|
Loading…
Reference in New Issue
Block a user