From 022f52e040807363213c8752ce61a7d0f57e3078 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Sun, 13 Nov 2016 19:41:13 +0100 Subject: [PATCH] target-alpha: Log cpuid with -d int Signed-off-by: Richard Henderson --- target-alpha/helper.c | 6 ++++-- 1 file 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; -- 2.11.4.GIT