sparc exception fix (we go up to the shell prompt)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1343 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2005-03-20 12:43:29 +00:00
parent 86bd2ca58a
commit c3278b7bf0
4 changed files with 22 additions and 4 deletions

View file

@ -94,7 +94,7 @@ void tlb_fill(target_ulong addr, int is_write, int is_user, void *retaddr)
if (tb) {
/* the PC is inside the translated code. It means that we have
a virtual CPU fault */
cpu_restore_state(tb, env, pc, NULL);
cpu_restore_state(tb, env, pc, (void *)T2);
}
}
cpu_loop_exit();