Commit f10c315f8fa1b5ea06fdccee0001928af47d9147

Authored by j_mayer
1 parent 02645926

Fix incorrect PowerPC instruction fetch exception dump.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3517 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
linux-user/main.c
@@ -785,7 +785,7 @@ void cpu_loop(CPUPPCState *env) @@ -785,7 +785,7 @@ void cpu_loop(CPUPPCState *env)
785 break; 785 break;
786 case POWERPC_EXCP_ISI: /* Instruction storage exception */ 786 case POWERPC_EXCP_ISI: /* Instruction storage exception */
787 EXCP_DUMP(env, "Invalid instruction fetch: 0x\n" ADDRX "\n", 787 EXCP_DUMP(env, "Invalid instruction fetch: 0x\n" ADDRX "\n",
788 - env->spr[SPR_DAR]); 788 + env->spr[SPR_SRR0]);
789 /* XXX: check this */ 789 /* XXX: check this */
790 switch (env->error_code & 0xFF000000) { 790 switch (env->error_code & 0xFF000000) {
791 case 0x40000000: 791 case 0x40000000: