aboutsummaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2021-05-12 15:54:14 -0300
committerDavid Gibson <david@gibson.dropbear.id.au>2021-05-19 10:30:28 +1000
commitda3527d96dab32bbfffb314622357765f2613233 (patch)
tree89b68b4db687fefca112d7b96f4a5f012b690d56 /target
parent3d8a5b69bd79ea324b79bde175d870d831e0afe8 (diff)
downloadqemu-da3527d96dab32bbfffb314622357765f2613233.zip
qemu-da3527d96dab32bbfffb314622357765f2613233.tar.gz
qemu-da3527d96dab32bbfffb314622357765f2613233.tar.bz2
target/ppc: Remove special case for POWERPC_SYSCALL
Since POWERPC_SYSCALL is raised by gen_exception_err, we will have also set DISAS_NORETURN. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Luis Pires <luis.pires@eldorado.org.br> Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br> Message-Id: <20210512185441.3619828-5-matheus.ferst@eldorado.org.br> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'target')
-rw-r--r--target/ppc/translate.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/target/ppc/translate.c b/target/ppc/translate.c
index ac0c0e5..18f581e 100644
--- a/target/ppc/translate.c
+++ b/target/ppc/translate.c
@@ -9225,7 +9225,6 @@ static void ppc_tr_translate_insn(DisasContextBase *dcbase, CPUState *cs)
/* Check trace mode exceptions */
if (unlikely(ctx->singlestep_enabled & CPU_SINGLE_STEP &&
(ctx->base.pc_next <= 0x100 || ctx->base.pc_next > 0xF00) &&
- ctx->exception != POWERPC_SYSCALL &&
ctx->exception != POWERPC_EXCP_TRAP &&
ctx->exception != POWERPC_EXCP_BRANCH &&
ctx->base.is_jmp != DISAS_NORETURN)) {