diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-12-14 18:40:49 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-12-14 18:40:49 +0000 |
commit | 7889270acbee87513172b507bb447e7cc50258e7 (patch) | |
tree | d4b3eeb205bb81f4e62a2b301f012b00fadd95eb /target-ppc | |
parent | 70ad3dec1af7257f92be929a04bf2643cf99fb95 (diff) |
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
Diffstat (limited to 'target-ppc')
-rw-r--r-- | target-ppc/translate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-ppc/translate.c b/target-ppc/translate.c index 69801d0433..57ea907b72 100644 --- a/target-ppc/translate.c +++ b/target-ppc/translate.c @@ -7651,6 +7651,7 @@ void cpu_dump_state (CPUState *env, FILE *f, if ((i & (RFPL - 1)) == (RFPL - 1)) cpu_fprintf(f, "\n"); } + cpu_fprintf(f, "FPSCR %08x\n", env->fpscr); #if !defined(CONFIG_USER_ONLY) cpu_fprintf(f, "SRR0 " ADDRX " SRR1 " ADDRX " SDR1 " ADDRX "\n", env->spr[SPR_SRR0], env->spr[SPR_SRR1], env->sdr1); |