aboutsummaryrefslogtreecommitdiff
path: root/target-alpha/translate.c
diff options
context:
space:
mode:
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);