diff options
author | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-14 12:17:09 +0000 |
---|---|---|
committer | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-14 12:17:09 +0000 |
commit | e96efcfcb19b81d87ed3baec419b14cdd6e021a4 (patch) | |
tree | 8889bad1c84ecf82704c967f9e52351ac3a13822 /linux-user | |
parent | ba13c4327e19c083dd76d69805c5bf3dd44ca46c (diff) |
Fix miscellaneous display warnings for PowerPC & alpha targets
and parallel CFI flash driver.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2661 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linux-user/main.c b/linux-user/main.c index 277f194d94..d14b499168 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -755,10 +755,10 @@ void cpu_loop(CPUPPCState *env) info._sifields._sigfault._addr = env->nip - 4; queue_signal(info.si_signo, &info); case EXCP_DSI: - fprintf(stderr, "Invalid data memory access: 0x%08x\n", + fprintf(stderr, "Invalid data memory access: 0x" ADDRX "\n", env->spr[SPR_DAR]); if (loglevel) { - fprintf(logfile, "Invalid data memory access: 0x%08x\n", + fprintf(logfile, "Invalid data memory access: 0x" ADDRX "\n", env->spr[SPR_DAR]); } switch (env->error_code & 0xFF000000) { @@ -1549,7 +1549,7 @@ void cpu_loop(CPUM68KState *env) #ifdef TARGET_ALPHA void cpu_loop (CPUState *env) { - int trapnr, ret; + int trapnr; target_siginfo_t info; while (1) { |