aboutsummaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-11-23 21:01:33 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-11-23 21:01:33 +0000
commitad49ff9de3f15d1b91416ecd005cfae16aba0026 (patch)
treec81b0cf729ba3269022e71b1547730ff3619b9fc /monitor.c
parent15a7644956c5265ed3e4d2817a9eca993d0b64fa (diff)
use HF_HALTED bit
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1650 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor.c b/monitor.c
index 85a997db86..9befd82b06 100644
--- a/monitor.c
+++ b/monitor.c
@@ -253,7 +253,7 @@ static void do_info_cpus(void)
env->cpu_index);
#if defined(TARGET_I386)
term_printf(" pc=0x" TARGET_FMT_lx, env->eip + env->segs[R_CS].base);
- if (env->cpu_halted)
+ if (env->hflags & HF_HALTED_MASK)
term_printf(" (halted)");
#endif
term_printf("\n");