summaryrefslogtreecommitdiffstats
path: root/target/alpha
diff options
context:
space:
mode:
authorRichard Henderson2021-07-19 03:25:13 +0200
committerRichard Henderson2021-10-16 01:39:14 +0200
commit1760e4abf11223535b92e25a7fbd928b29b57233 (patch)
treee0858fdcc156a5651c40ca8b5316442700b5178a /target/alpha
parentaccel/tcg: Handle gdb singlestep in cpu_tb_exec (diff)
downloadqemu-1760e4abf11223535b92e25a7fbd928b29b57233.tar.gz
qemu-1760e4abf11223535b92e25a7fbd928b29b57233.tar.xz
qemu-1760e4abf11223535b92e25a7fbd928b29b57233.zip
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>
Diffstat (limited to 'target/alpha')
-rw-r--r--target/alpha/translate.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/target/alpha/translate.c b/target/alpha/translate.c
index 0eee3a1bcc..a4c3f43e72 100644
--- a/target/alpha/translate.c
+++ b/target/alpha/translate.c
@@ -3005,17 +3005,10 @@ static void alpha_tr_tb_stop(DisasContextBase *dcbase, CPUState *cpu)
tcg_gen_movi_i64(cpu_pc, ctx->base.pc_next);
/* FALLTHRU */
case DISAS_PC_UPDATED:
- if (!ctx->base.singlestep_enabled) {
- tcg_gen_lookup_and_goto_ptr();
- break;
- }
- /* FALLTHRU */
+ tcg_gen_lookup_and_goto_ptr();
+ break;
case DISAS_PC_UPDATED_NOCHAIN:
- if (ctx->base.singlestep_enabled) {
- gen_excp_1(EXCP_DEBUG, 0);
- } else {
- tcg_gen_exit_tb(NULL, 0);
- }
+ tcg_gen_exit_tb(NULL, 0);
break;
default:
g_assert_not_reached();