64-bit host/cross fixes.
[qemu] / monitor.c
index 70b473d..d7acaa4 100644 (file)
--- a/monitor.c
+++ b/monitor.c
@@ -257,7 +257,11 @@ static void do_info_cpus(void)
             term_printf(" (halted)");
 #elif defined(TARGET_PPC)
         term_printf(" nip=0x" TARGET_FMT_lx, env->nip);
-        if (msr_pow)
+        if (env->halted)
+            term_printf(" (halted)");
+#elif defined(TARGET_SPARC)
+        term_printf(" pc=0x" TARGET_FMT_lx " npc=0x" TARGET_FMT_lx, env->pc, env->npc);
+        if (env->halted)
             term_printf(" (halted)");
 #endif
         term_printf("\n");