diff options
author | Bastian Koppelmann <kbastian@mail.uni-paderborn.de> | 2020-05-29 09:21:44 +0200 |
---|---|---|
committer | Bastian Koppelmann <kbastian@mail.uni-paderborn.de> | 2020-06-01 16:55:12 +0200 |
commit | a564c318fe4e5bdc17029ced343fb13173fbd2c9 (patch) | |
tree | b385b4fa082026c199798444c2fd4526f821eaa0 | |
parent | 7ea32024c6b3ad9c88d6200e73dbf76c8e160024 (diff) |
target/tricore: Don't save pc in generate_qemu_excp
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>
-rw-r--r-- | target/tricore/translate.c | 1 |
1 files changed, 0 insertions, 1 deletions
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); |