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

The value of XER is split in multiple fields of CPUPPCState, like
env->xer and env->so. To get/set the whole register from gdb, we should
use cpu_read_xer/cpu_write_xer.

Fixes: da91a00f191f ("target-ppc: Split out SO, OV, CA fields from XER")
Signed-off-by: Matheus Ferst<[email protected]>
---
  target/ppc/gdbstub.c | 8 ++++----
  1 file changed, 4 insertions(+), 4 deletions(-)

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

r~

Reply via email to