target-ppc: display FPSCR in register dump
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6031 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
70ad3dec1a
commit
7889270acb
|
@ -7651,6 +7651,7 @@ void cpu_dump_state (CPUState *env, FILE *f,
|
||||||
if ((i & (RFPL - 1)) == (RFPL - 1))
|
if ((i & (RFPL - 1)) == (RFPL - 1))
|
||||||
cpu_fprintf(f, "\n");
|
cpu_fprintf(f, "\n");
|
||||||
}
|
}
|
||||||
|
cpu_fprintf(f, "FPSCR %08x\n", env->fpscr);
|
||||||
#if !defined(CONFIG_USER_ONLY)
|
#if !defined(CONFIG_USER_ONLY)
|
||||||
cpu_fprintf(f, "SRR0 " ADDRX " SRR1 " ADDRX " SDR1 " ADDRX "\n",
|
cpu_fprintf(f, "SRR0 " ADDRX " SRR1 " ADDRX " SDR1 " ADDRX "\n",
|
||||||
env->spr[SPR_SRR0], env->spr[SPR_SRR1], env->sdr1);
|
env->spr[SPR_SRR0], env->spr[SPR_SRR1], env->sdr1);
|
||||||
|
|
Loading…
Reference in a new issue