From: bellard Date: Sat, 21 Feb 2004 14:10:04 +0000 (+0000) Subject: update nip when processing exceptions (Jocelyn Mayer) X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=004bc62c288c707dcd31189149b01c8624c49ee3;p=qemu.git update nip when processing exceptions (Jocelyn Mayer) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@627 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/target-ppc/op.c b/target-ppc/op.c index 98d788585b..7916b83c50 100644 --- a/target-ppc/op.c +++ b/target-ppc/op.c @@ -220,8 +220,8 @@ PPC_OP(queue_exception) PPC_OP(process_exceptions) { + env->nip = PARAM(1); if (env->exceptions != 0) { - env->nip = PARAM(1); do_check_exception_state(); } }