aboutsummaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-11-23 22:05:28 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-11-23 22:05:28 +0000
commite80e1cc4b18d388227d2fa6b8551929a381d2490 (patch)
treeffa318af5e2d0019e5f47dc26b70a3f0f64ecf94 /monitor.c
parentf24e5695e5fab2d4d143c34ffe8164ddeac9b12b (diff)
downloadqemu-e80e1cc4b18d388227d2fa6b8551929a381d2490.zip
qemu-e80e1cc4b18d388227d2fa6b8551929a381d2490.tar.gz
qemu-e80e1cc4b18d388227d2fa6b8551929a381d2490.tar.bz2
halt state support for ppc
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1657 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/monitor.c b/monitor.c
index 9befd82..70b473d 100644
--- a/monitor.c
+++ b/monitor.c
@@ -255,6 +255,10 @@ static void do_info_cpus(void)
term_printf(" pc=0x" TARGET_FMT_lx, env->eip + env->segs[R_CS].base);
if (env->hflags & HF_HALTED_MASK)
term_printf(" (halted)");
+#elif defined(TARGET_PPC)
+ term_printf(" nip=0x" TARGET_FMT_lx, env->nip);
+ if (msr_pow)
+ term_printf(" (halted)");
#endif
term_printf("\n");
}