]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
target-alpha: Log cpuid with -d int
authorRichard Henderson <rth@twiddle.net>
Sun, 13 Nov 2016 18:41:13 +0000 (19:41 +0100)
committerRichard Henderson <rth@twiddle.net>
Thu, 17 Nov 2016 14:56:31 +0000 (15:56 +0100)
Signed-off-by: Richard Henderson <rth@twiddle.net>
target-alpha/helper.c

index 2ef6cbe2a4f3623712cab0f8f5d2f868108f3b79..a5c308859b99e6137db8864314fb1f14ae1225f5 100644 (file)
@@ -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;