[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH for-6.2 05/23] target/hexagon: Drop checks for singlestep_enabled
From: |
Richard Henderson |
Subject: |
[PATCH for-6.2 05/23] target/hexagon: Drop checks for singlestep_enabled |
Date: |
Tue, 20 Jul 2021 20:41:37 -1000 |
GDB single-stepping is now handled generically.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
target/hexagon/translate.c | 12 ++----------
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/target/hexagon/translate.c b/target/hexagon/translate.c
index 54fdcaa5e8..606fae6b06 100644
--- a/target/hexagon/translate.c
+++ b/target/hexagon/translate.c
@@ -71,11 +71,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;
}
@@ -591,11 +587,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;
--
2.25.1
- Re: [PATCH for-6.2 03/23] target/avr: Drop checks for singlestep_enabled, (continued)
- [PATCH for-6.2 04/23] target/cris: Drop checks for singlestep_enabled, Richard Henderson, 2021/07/21
- [PATCH for-6.2 06/23] target/arm: Drop checks for singlestep_enabled, Richard Henderson, 2021/07/21
- [PATCH for-6.2 07/23] target/hppa: Drop checks for singlestep_enabled, Richard Henderson, 2021/07/21
- [PATCH for-6.2 08/23] target/i386: Check CF_NO_GOTO_TB for dc->jmp_opt, Richard Henderson, 2021/07/21
- [PATCH for-6.2 13/23] target/mips: Fix single stepping, Richard Henderson, 2021/07/21
- [PATCH for-6.2 14/23] target/mips: Drop exit checks for singlestep_enabled, Richard Henderson, 2021/07/21
- [PATCH for-6.2 15/23] target/openrisc: Drop checks for singlestep_enabled, Richard Henderson, 2021/07/21
- [PATCH for-6.2 05/23] target/hexagon: Drop checks for singlestep_enabled,
Richard Henderson <=
- [PATCH for-6.2 09/23] target/i386: Drop check for singlestep_enabled, Richard Henderson, 2021/07/21
- [PATCH for-6.2 10/23] target/m68k: Drop checks for singlestep_enabled, Richard Henderson, 2021/07/21
- [PATCH for-6.2 11/23] target/microblaze: Check CF_NO_GOTO_TB for DISAS_JUMP, Richard Henderson, 2021/07/21
- [PATCH for-6.2 12/23] target/microblaze: Drop checks for singlestep_enabled, Richard Henderson, 2021/07/21
- [PATCH for-6.2 16/23] target/ppc: Drop exit checks for singlestep_enabled, Richard Henderson, 2021/07/21
- [PATCH for-6.2 20/23] target/s390x: Drop check for singlestep_enabled, Richard Henderson, 2021/07/21
- [PATCH for-6.2 22/23] target/tricore: Drop check for singlestep_enabled, Richard Henderson, 2021/07/21
- [PATCH for-6.2 21/23] target/sh4: Drop check for singlestep_enabled, Richard Henderson, 2021/07/21