From f10c315f8fa1b5ea06fdccee0001928af47d9147 Mon Sep 17 00:00:00 2001 From: j_mayer Date: Sat, 3 Nov 2007 13:22:08 +0000 Subject: Fix incorrect PowerPC instruction fetch exception dump. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3517 c046a42c-6fe2-441c-8c8c-71466251a162 --- linux-user/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-user/main.c b/linux-user/main.c index 6a026b012b..6fe51107c2 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -785,7 +785,7 @@ void cpu_loop(CPUPPCState *env) break; case POWERPC_EXCP_ISI: /* Instruction storage exception */ EXCP_DUMP(env, "Invalid instruction fetch: 0x\n" ADDRX "\n", - env->spr[SPR_DAR]); + env->spr[SPR_SRR0]); /* XXX: check this */ switch (env->error_code & 0xFF000000) { case 0x40000000: -- cgit v1.2.3