This patch fixes the spacing of the PC and NPC output from 'info cpus' for SPARC.

Signed-off-by: Nathan Kunkee <nkunke...@hotmail.com>

diff --git a/monitor.c b/monitor.c
index 1b8ba2c..16cd4c5 100644
--- a/monitor.c
+++ b/monitor.c
@@ -884,9 +884,9 @@ 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,
+    monitor_printf(mon, " npc=0x" TARGET_FMT_lx,
                    (target_long) qdict_get_int(cpu, "npc"));
 #elif defined(TARGET_MIPS)
     monitor_printf(mon, "PC=0x" TARGET_FMT_lx,

Reply via email to