diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-08-16 11:13:18 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-08-16 11:13:18 +0000 |
commit | 128c2a635240ec033620c11796c0c49bf6270687 (patch) | |
tree | bb2438cdd8e04f430e5f6d491dad03e3c8f8290f /darwin-user/main.c | |
parent | f18883d3794bb1c7cb6468150ab33ff5a2f891b8 (diff) | |
download | qemu-128c2a635240ec033620c11796c0c49bf6270687.tar.gz qemu-128c2a635240ec033620c11796c0c49bf6270687.tar.bz2 qemu-128c2a635240ec033620c11796c0c49bf6270687.zip |
Replace local ADDRX/PADDRX macros with TARGET_FMT_lx/plx
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'darwin-user/main.c')
-rw-r--r-- | darwin-user/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/darwin-user/main.c b/darwin-user/main.c index 8e993da377..9f0e0149f3 100644 --- a/darwin-user/main.c +++ b/darwin-user/main.c @@ -156,7 +156,7 @@ void cpu_loop(CPUPPCState *env) /* To deal with multiple qemu header version as host for the darwin-user code */ # define DAR SPR_DAR #endif - 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]); /* Handle this via the gdb */ gdb_handlesig (env, SIGSEGV); @@ -165,7 +165,7 @@ void cpu_loop(CPUPPCState *env) queue_signal(info.si_signo, &info); break; case POWERPC_EXCP_ISI: /* Instruction storage exception */ - EXCP_DUMP(env, "Invalid instruction fetch: 0x\n" ADDRX "\n", + EXCP_DUMP(env, "Invalid instruction fetch: 0x\n" TARGET_FMT_lx "\n", env->spr[SPR_DAR]); /* Handle this via the gdb */ gdb_handlesig (env, SIGSEGV); |