On 10/14/21 3:32 PM, [email protected] wrote:
From: Matheus Ferst<[email protected]>

env->xer doesn't hold some bits of XER, like OV and CA. To write the
complete register in the core dump we should read XER value with
cpu_read_xer.

Reported-by: Lucas Mateus Castro (alqotel)<[email protected]>
Fixes: da91a00f191f ("target-ppc: Split out SO, OV, CA fields from XER")
Signed-off-by: Matheus Ferst<[email protected]>
---
  linux-user/elfload.c | 2 +-
  target/ppc/cpu.c     | 2 +-
  target/ppc/cpu.h     | 2 +-
  3 files changed, 3 insertions(+), 3 deletions(-)

Reviewed-by: Richard Henderson <[email protected]>

r~

Reply via email to