From patchwork Fri Sep 9 09:24:13 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [6/8] SPARC: Trivial patch to clean up npc monitor output Date: Thu, 08 Sep 2011 23:24:13 -0000 From: Stefan Hajnoczi X-Patchwork-Id: 114028 Message-Id: <1315560255-25009-7-git-send-email-stefanha@linux.vnet.ibm.com> To: Cc: Anthony Liguori , Stefan Hajnoczi , Nathan Kunkee 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"));