From 3f9c359507ca3732d1e5669759c95bce098620c5 Mon Sep 17 00:00:00 2001 From: Nathan Kunkee Date: Thu, 8 Sep 2011 21:58:31 -0500 Subject: [PATCH] SPARC: Trivial patch to clean up npc monitor output 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 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitor.c b/monitor.c index df0f622067..03ae997ffe 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"));