Commit 004bc62c288c707dcd31189149b01c8624c49ee3

Authored by bellard
1 parent ed1c0bcb

update nip when processing exceptions (Jocelyn Mayer)


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@627 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
target-ppc/op.c
@@ -220,8 +220,8 @@ PPC_OP(queue_exception) @@ -220,8 +220,8 @@ PPC_OP(queue_exception)
220 220
221 PPC_OP(process_exceptions) 221 PPC_OP(process_exceptions)
222 { 222 {
  223 + env->nip = PARAM(1);
223 if (env->exceptions != 0) { 224 if (env->exceptions != 0) {
224 - env->nip = PARAM(1);  
225 do_check_exception_state(); 225 do_check_exception_state();
226 } 226 }
227 } 227 }