[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 1/5] target/tricore: Don't save pc in generate_qemu_excp
From: |
Bastian Koppelmann |
Subject: |
[PULL 1/5] target/tricore: Don't save pc in generate_qemu_excp |
Date: |
Mon, 1 Jun 2020 17:11:15 +0200 |
EXCP_DEBUG is the only user. If we encounter a jump in tricore-gdb it's
target was overwritten by generate_qemu_excp() and we would never leave.
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Message-Id: <20200529072148.284037-2-kbastian@mail.uni-paderborn.de>
---
target/tricore/translate.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/target/tricore/translate.c b/target/tricore/translate.c
index 609d75ae8a..65a33e5ad8 100644
--- a/target/tricore/translate.c
+++ b/target/tricore/translate.c
@@ -3264,7 +3264,6 @@ static void generate_trap(DisasContext *ctx, int class,
int tin)
static void generate_qemu_excp(DisasContext *ctx, int excp)
{
TCGv_i32 tmp = tcg_const_i32(excp);
- gen_save_pc(ctx->base.pc_next);
gen_helper_qemu_excp(cpu_env, tmp);
ctx->base.is_jmp = DISAS_NORETURN;
tcg_temp_free(tmp);
--
2.26.2
- [PULL 0/5] tricore queue, Bastian Koppelmann, 2020/06/01
- [PULL 2/5] target/tricore: Move translate feature check to ctx, Bastian Koppelmann, 2020/06/01
- [PULL 5/5] target/tricore: Implement gdbstub, Bastian Koppelmann, 2020/06/01
- [PULL 4/5] target/tricore: Implement tricore_cpu_get_phys_page_debug, Bastian Koppelmann, 2020/06/01
- [PULL 3/5] target/tricore: Raise EXCP_DEBUG in gen_goto_tb() for singlestep, Bastian Koppelmann, 2020/06/01
- [PULL 1/5] target/tricore: Don't save pc in generate_qemu_excp,
Bastian Koppelmann <=
- Re: [PULL 0/5] tricore queue, Peter Maydell, 2020/06/01