summaryrefslogtreecommitdiffstats
path: root/linux-user
diff options
context:
space:
mode:
authorMatheus Ferst2021-10-15 00:32:32 +0200
committerDavid Gibson2021-10-21 02:42:47 +0200
commit7974dc5900f7c128232782b0b39ccd40001bdb08 (patch)
treee1b5bc67704a91ce1b490daee19600722c9f8d12 /linux-user
parentlinux-user/ppc: Fix XER access in save/restore_user_regs (diff)
downloadqemu-7974dc5900f7c128232782b0b39ccd40001bdb08.tar.gz
qemu-7974dc5900f7c128232782b0b39ccd40001bdb08.tar.xz
qemu-7974dc5900f7c128232782b0b39ccd40001bdb08.zip
target/ppc: Fix XER access in gdbstub
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 <matheus.ferst@eldorado.org.br> Message-Id: <20211014223234.127012-3-matheus.ferst@eldorado.org.br> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'linux-user')
0 files changed, 0 insertions, 0 deletions