aboutsummaryrefslogtreecommitdiff
path: root/target-alpha
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2016-11-13 19:41:13 +0100
committerRichard Henderson <rth@twiddle.net>2016-11-17 15:56:31 +0100
commit022f52e040807363213c8752ce61a7d0f57e3078 (patch)
treec6ebea194f9fdd4e8d402faaf7f1f0ad1c321af8 /target-alpha
parentdfbd2768b26d8aa1018004e736f2573e7f6abe67 (diff)
target-alpha: Log cpuid with -d int
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-alpha')
-rw-r--r--target-alpha/helper.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/target-alpha/helper.c b/target-alpha/helper.c
index 2ef6cbe2a4..a5c308859b 100644
--- a/target-alpha/helper.c
+++ b/target-alpha/helper.c
@@ -307,8 +307,10 @@ void alpha_cpu_do_interrupt(CPUState *cs)
name = "call_pal";
break;
}
- qemu_log("INT %6d: %s(%#x) pc=%016" PRIx64 " sp=%016" PRIx64 "\n",
- ++count, name, env->error_code, env->pc, env->ir[IR_SP]);
+ qemu_log("INT %6d: %s(%#x) cpu=%d pc=%016"
+ PRIx64 " sp=%016" PRIx64 "\n",
+ ++count, name, env->error_code, cs->cpu_index,
+ env->pc, env->ir[IR_SP]);
}
cs->exception_index = -1;