target/arm: Fix arm_cpu_dump_state vs FPSCR

Backports commit ec527e4eeccc31e3beadf3b61b66c61bbd873811 from qemu
This commit is contained in:
Richard Henderson 2019-02-15 17:58:23 -05:00 committed by Lioncash
parent ed7c9d0710
commit 4e44043956
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -13866,7 +13866,7 @@ void arm_cpu_dump_state(CPUState *cs, FILE *f, fprintf_function cpu_fprintf,
i * 2 + 1, (uint32_t)(v >> 32),
i, v);
}
cpu_fprintf(f, "FPSCR: %08x\n", (int)env->vfp.xregs[ARM_VFP_FPSCR]);
cpu_fprintf(f, "FPSCR: %08x\n", vfp_get_fpscr(env));
}
}
#endif