target-alpha: Log cpuid with -d int

Signed-off-by: Richard Henderson <rth@twiddle.net>
stable-2.8
Richard Henderson 2016-11-13 19:41:13 +01:00
parent dfbd2768b2
commit 022f52e040
1 changed files with 4 additions and 2 deletions

View 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;