diff options
author | 2009-08-16 11:13:18 +0000 | |
---|---|---|
committer | 2009-08-16 11:13:18 +0000 | |
commit | 90e189ece147115c66c9864fd832524543a50530 (patch) | |
tree | bb2438cdd8e04f430e5f6d491dad03e3c8f8290f /linux-user | |
parent | Replace always_inline with inline (diff) | |
download | qemu-kvm-90e189ece147115c66c9864fd832524543a50530.tar.gz qemu-kvm-90e189ece147115c66c9864fd832524543a50530.tar.bz2 qemu-kvm-90e189ece147115c66c9864fd832524543a50530.zip |
Replace local ADDRX/PADDRX macros with TARGET_FMT_lx/plx
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
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 aa381f60d..a628c0172 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -1140,7 +1140,7 @@ void cpu_loop(CPUPPCState *env) "Aborting\n"); break; case POWERPC_EXCP_DSI: /* Data storage exception */ - EXCP_DUMP(env, "Invalid data memory access: 0x" ADDRX "\n", + EXCP_DUMP(env, "Invalid data memory access: 0x" TARGET_FMT_lx "\n", env->spr[SPR_DAR]); /* XXX: check this. Seems bugged */ switch (env->error_code & 0xFF000000) { @@ -1172,8 +1172,8 @@ void cpu_loop(CPUPPCState *env) queue_signal(env, info.si_signo, &info); break; case POWERPC_EXCP_ISI: /* Instruction storage exception */ - EXCP_DUMP(env, "Invalid instruction fetch: 0x\n" ADDRX "\n", - env->spr[SPR_SRR0]); + EXCP_DUMP(env, "Invalid instruction fetch: 0x\n" TARGET_FMT_lx + "\n", env->spr[SPR_SRR0]); /* XXX: check this */ switch (env->error_code & 0xFF000000) { case 0x40000000: |