[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL for-2.8 2/2] target-alpha: Log cpuid with -d int
From: |
Richard Henderson |
Subject: |
[Qemu-devel] [PULL for-2.8 2/2] target-alpha: Log cpuid with -d int |
Date: |
Thu, 17 Nov 2016 16:02:45 +0100 |
Signed-off-by: Richard Henderson <address@hidden>
---
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 2ef6cbe..a5c3088 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.7.4