use HF_HALTED bit

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1650 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2005-11-23 21:01:33 +00:00
parent 15a7644956
commit ad49ff9de3
2 changed files with 2 additions and 2 deletions

View file

@ -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");