From patchwork Fri Sep 9 09:24:13 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Hajnoczi X-Patchwork-Id: 114028 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 41A49B6F7C for ; Fri, 9 Sep 2011 19:25:19 +1000 (EST) Received: from localhost ([::1]:45659 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1xKh-0003HN-34 for incoming@patchwork.ozlabs.org; Fri, 09 Sep 2011 05:25:11 -0400 Received: from eggs.gnu.org ([140.186.70.92]:43434) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1xKB-00022Y-TF for qemu-devel@nongnu.org; Fri, 09 Sep 2011 05:24:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R1xKA-0005Vr-UG for qemu-devel@nongnu.org; Fri, 09 Sep 2011 05:24:39 -0400 Received: from mtagate1.uk.ibm.com ([194.196.100.161]:45546) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1xKA-0005SP-Mv for qemu-devel@nongnu.org; Fri, 09 Sep 2011 05:24:38 -0400 Received: from d06nrmr1806.portsmouth.uk.ibm.com (d06nrmr1806.portsmouth.uk.ibm.com [9.149.39.193]) by mtagate1.uk.ibm.com (8.13.1/8.13.1) with ESMTP id p899OLro005202 for ; Fri, 9 Sep 2011 09:24:21 GMT Received: from d06av11.portsmouth.uk.ibm.com (d06av11.portsmouth.uk.ibm.com [9.149.37.252]) by d06nrmr1806.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p899OKgM2416830 for ; Fri, 9 Sep 2011 10:24:20 +0100 Received: from d06av11.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av11.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p899OJuh004954 for ; Fri, 9 Sep 2011 03:24:20 -0600 Received: from stefanha-thinkpad.manchester-maybrook.uk.ibm.com (dyn-9-174-219-30.manchester-maybrook.uk.ibm.com [9.174.219.30]) by d06av11.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id p899OIqV004851; Fri, 9 Sep 2011 03:24:19 -0600 From: Stefan Hajnoczi To: Date: Fri, 9 Sep 2011 10:24:13 +0100 Message-Id: <1315560255-25009-7-git-send-email-stefanha@linux.vnet.ibm.com> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1315560255-25009-1-git-send-email-stefanha@linux.vnet.ibm.com> References: <1315560255-25009-1-git-send-email-stefanha@linux.vnet.ibm.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Received-From: 194.196.100.161 Cc: Anthony Liguori , Stefan Hajnoczi , Nathan Kunkee Subject: [Qemu-devel] [PATCH 6/8] SPARC: Trivial patch to clean up npc monitor output X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Nathan Kunkee This patch fixes the spacing of the PC output from 'info cpus' for SPARC. Signed-off-by: Nathan Kunkee Signed-off-by: Stefan Hajnoczi --- monitor.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/monitor.c b/monitor.c index df0f622..03ae997 100644 --- a/monitor.c +++ b/monitor.c @@ -886,7 +886,7 @@ static void print_cpu_iter(QObject *obj, void *opaque) monitor_printf(mon, "nip=0x" TARGET_FMT_lx, (target_long) qdict_get_int(cpu, "nip")); #elif defined(TARGET_SPARC) - monitor_printf(mon, "pc=0x " TARGET_FMT_lx, + monitor_printf(mon, "pc=0x" TARGET_FMT_lx, (target_long) qdict_get_int(cpu, "pc")); monitor_printf(mon, "npc=0x" TARGET_FMT_lx, (target_long) qdict_get_int(cpu, "npc"));