]> git.proxmox.com Git - qemu.git/commitdiff
update nip when processing exceptions (Jocelyn Mayer)
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 21 Feb 2004 14:10:04 +0000 (14:10 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 21 Feb 2004 14:10:04 +0000 (14:10 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@627 c046a42c-6fe2-441c-8c8c-71466251a162

target-ppc/op.c

index 98d788585b45db5d11e5172f5712ab630ca79657..7916b83c50bafb7b47bd5399d1be87d37a579656 100644 (file)
@@ -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();
     }
 }