From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43204) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c7ODM-0008Dd-Jm for qemu-devel@nongnu.org; Thu, 17 Nov 2016 10:03:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c7ODL-0004b7-HZ for qemu-devel@nongnu.org; Thu, 17 Nov 2016 10:03:00 -0500 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]:34499) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c7ODL-0004aE-BS for qemu-devel@nongnu.org; Thu, 17 Nov 2016 10:02:59 -0500 Received: by mail-wm0-x244.google.com with SMTP id g23so22153587wme.1 for ; Thu, 17 Nov 2016 07:02:59 -0800 (PST) Sender: Richard Henderson From: Richard Henderson Date: Thu, 17 Nov 2016 16:02:45 +0100 Message-Id: <1479394965-11254-3-git-send-email-rth@twiddle.net> In-Reply-To: <1479394965-11254-1-git-send-email-rth@twiddle.net> References: <1479394965-11254-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PULL for-2.8 2/2] target-alpha: Log cpuid with -d int List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: stefanha@redhat.com 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 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