aboutsummaryrefslogtreecommitdiff
path: root/target-alpha/translate.c
diff options
context:
space:
mode:
authorj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-04-14 12:17:09 +0000
committerj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-04-14 12:17:09 +0000
commite96efcfcb19b81d87ed3baec419b14cdd6e021a4 (patch)
tree8889bad1c84ecf82704c967f9e52351ac3a13822 /target-alpha/translate.c
parentba13c4327e19c083dd76d69805c5bf3dd44ca46c (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 'target-alpha/translate.c')
-rw-r--r--target-alpha/translate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/target-alpha/translate.c b/target-alpha/translate.c
index 0afd8964ce..08e0624db9 100644
--- a/target-alpha/translate.c
+++ b/target-alpha/translate.c
@@ -2004,7 +2004,8 @@ int gen_intermediate_code_internal (CPUState *env, TranslationBlock *tb,
#if defined ALPHA_DEBUG_DISAS
insn_count++;
if (logfile != NULL) {
- fprintf(logfile, "pc %016lx mem_idx\n", ctx.pc, ctx.mem_idx);
+ fprintf(logfile, "pc " TARGET_FMT_lx " mem_idx %d\n",
+ ctx.pc, ctx.mem_idx);
}
#endif
insn = ldl_code(ctx.pc);