From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NSIgL-00074d-Dc for qemu-devel@nongnu.org; Tue, 05 Jan 2010 18:19:21 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NSIgG-0006wf-NZ for qemu-devel@nongnu.org; Tue, 05 Jan 2010 18:19:20 -0500 Received: from [199.232.76.173] (port=35280 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSIgF-0006wM-Gz for qemu-devel@nongnu.org; Tue, 05 Jan 2010 18:19:15 -0500 Received: from mail-fx0-f222.google.com ([209.85.220.222]:54407) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NSIgE-0008JO-V7 for qemu-devel@nongnu.org; Tue, 05 Jan 2010 18:19:15 -0500 Received: by mail-fx0-f222.google.com with SMTP id 22so19469351fxm.2 for ; Tue, 05 Jan 2010 15:19:14 -0800 (PST) Received: from localhost ([127.0.0.1] helo=[192.168.1.2]) by skyserv with esmtp (Exim 4.71) (envelope-from ) id 1NSIgD-0001kJ-3F for qemu-devel@nongnu.org; Wed, 06 Jan 2010 02:19:13 +0300 From: "Igor V. Kovalenko" Date: Wed, 06 Jan 2010 02:19:13 +0300 Message-ID: <20100105231912.6526.44123.stgit@skyserv> In-Reply-To: <20100105231558.6526.44483.stgit@skyserv> References: <20100105231558.6526.44483.stgit@skyserv> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH 2/9] sparc64: add PSR and PIL to cpu state dump List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org From: Igor V. Kovalenko Signed-off-by: Igor V. Kovalenko --- target-sparc/helper.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/target-sparc/helper.c b/target-sparc/helper.c index a06923a..0f0e583 100644 --- a/target-sparc/helper.c +++ b/target-sparc/helper.c @@ -1452,6 +1452,7 @@ void cpu_dump_state(CPUState *env, FILE *f, #ifdef TARGET_SPARC64 cpu_fprintf(f, "pstate: 0x%08x ccr: 0x%02x asi: 0x%02x tl: %d fprs: %d\n", env->pstate, GET_CCR(env), env->asi, env->tl, env->fprs); + cpu_fprintf(f, "psr: 0x%08x pil=%x\n", GET_PSR(env), env->psrpil); cpu_fprintf(f, "cansave: %d canrestore: %d otherwin: %d wstate %d " "cleanwin %d cwp %d\n", env->cansave, env->canrestore, env->otherwin, env->wstate,