From: Tristan Gingold Date: Wed, 25 Feb 2015 09:39:25 +0000 (+0100) Subject: display cpu id dump state X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~319^2~18 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=21e5d28a4798f536525338f4f9137d83a9556491;p=sdk%2Femulator%2Fqemu.git display cpu id dump state Signed-off-by: Fabien Chouteau Signed-off-by: Alexander Graf --- diff --git a/target-ppc/translate.c b/target-ppc/translate.c index 88c18e3..2a78e99 100644 --- a/target-ppc/translate.c +++ b/target-ppc/translate.c @@ -11214,8 +11214,9 @@ void ppc_cpu_dump_state(CPUState *cs, FILE *f, fprintf_function cpu_fprintf, int i; cpu_fprintf(f, "NIP " TARGET_FMT_lx " LR " TARGET_FMT_lx " CTR " - TARGET_FMT_lx " XER " TARGET_FMT_lx "\n", - env->nip, env->lr, env->ctr, cpu_read_xer(env)); + TARGET_FMT_lx " XER " TARGET_FMT_lx " CPU#%d\n", + env->nip, env->lr, env->ctr, cpu_read_xer(env), + cs->cpu_index); cpu_fprintf(f, "MSR " TARGET_FMT_lx " HID0 " TARGET_FMT_lx " HF " TARGET_FMT_lx " idx %d\n", env->msr, env->spr[SPR_HID0], env->hflags, env->mmu_idx);