diff options
author | Stefan Weil <sw@weilnetz.de> | 2012-04-12 15:44:24 +0200 |
---|---|---|
committer | Stefan Weil <sw@weilnetz.de> | 2012-04-15 21:25:17 +0200 |
commit | 3ba19255450666869ecfe764774c2371f989e68b (patch) | |
tree | 40d952829b5b835888a3d244aee3bc4f918033e7 /cpu-exec.c | |
parent | b69e48a84d83162efd4782472572783e99840cf5 (diff) | |
download | qemu-3ba19255450666869ecfe764774c2371f989e68b.zip qemu-3ba19255450666869ecfe764774c2371f989e68b.tar.gz qemu-3ba19255450666869ecfe764774c2371f989e68b.tar.bz2 |
cpu-exec: Remove non-portable type cast and fix format string
This change is needed for w64, but also changes the code for other hosts.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'cpu-exec.c')
-rw-r--r-- | cpu-exec.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -541,8 +541,8 @@ int cpu_exec(CPUArchState *env) tb_invalidated_flag = 0; } #ifdef CONFIG_DEBUG_EXEC - qemu_log_mask(CPU_LOG_EXEC, "Trace 0x%08lx [" TARGET_FMT_lx "] %s\n", - (long)tb->tc_ptr, tb->pc, + qemu_log_mask(CPU_LOG_EXEC, "Trace %p [" TARGET_FMT_lx "] %s\n", + tb->tc_ptr, tb->pc, lookup_symbol(tb->pc)); #endif /* see if we can patch the calling TB. When the TB |