aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/op.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-02-21 14:10:04 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-02-21 14:10:04 +0000
commit004bc62c288c707dcd31189149b01c8624c49ee3 (patch)
tree4b74f07fb5a8c4715d63a3849c9b77164072988b /target-ppc/op.c
parented1c0bcb0cffd5a61ae6ffcc3bb2d4baa6021ad8 (diff)
update nip when processing exceptions (Jocelyn Mayer)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@627 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/op.c')
-rw-r--r--target-ppc/op.c2
1 files changed, 1 insertions, 1 deletions
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();
}
}