aboutsummaryrefslogtreecommitdiff
path: root/target/hexagon
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2021-07-18 21:02:03 -1000
committerRichard Henderson <richard.henderson@linaro.org>2021-10-15 16:39:14 -0700
commitdb07bd026ee6f5ea4fe32c503645813252bae2c6 (patch)
tree7365a4628d6a214cbe4b2c6b53ab35d4935529a3 /target/hexagon
parente3774881b5b651da7b44e5e98c5c8cea610e35bc (diff)
downloadqemu-db07bd026ee6f5ea4fe32c503645813252bae2c6.zip
qemu-db07bd026ee6f5ea4fe32c503645813252bae2c6.tar.gz
qemu-db07bd026ee6f5ea4fe32c503645813252bae2c6.tar.bz2
target/hexagon: 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/hexagon')
-rw-r--r--target/hexagon/translate.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/target/hexagon/translate.c b/target/hexagon/translate.c
index 4f05ce3..159931e 100644
--- a/target/hexagon/translate.c
+++ b/target/hexagon/translate.c
@@ -69,11 +69,7 @@ static void gen_end_tb(DisasContext *ctx)
{
gen_exec_counters(ctx);
tcg_gen_mov_tl(hex_gpr[HEX_REG_PC], hex_next_PC);
- if (ctx->base.singlestep_enabled) {
- gen_exception_raw(EXCP_DEBUG);
- } else {
- tcg_gen_exit_tb(NULL, 0);
- }
+ tcg_gen_exit_tb(NULL, 0);
ctx->base.is_jmp = DISAS_NORETURN;
}
@@ -614,11 +610,7 @@ static void hexagon_tr_tb_stop(DisasContextBase *dcbase, CPUState *cpu)
case DISAS_TOO_MANY:
gen_exec_counters(ctx);
tcg_gen_movi_tl(hex_gpr[HEX_REG_PC], ctx->base.pc_next);
- if (ctx->base.singlestep_enabled) {
- gen_exception_raw(EXCP_DEBUG);
- } else {
- tcg_gen_exit_tb(NULL, 0);
- }
+ tcg_gen_exit_tb(NULL, 0);
break;
case DISAS_NORETURN:
break;