halt state support for ppc

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1657 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2005-11-23 22:05:28 +00:00
parent f24e5695e5
commit e80e1cc4b1
4 changed files with 21 additions and 1 deletions

View file

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