Matheus Ferst
10de052188
linux-user: Fix XER access in ppc version of elf_core_copy_regs
...
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) <lucas.araujo@eldorado.org.br>
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-4-matheus.ferst@eldorado.org.br>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2021-10-21 11:42:47 +11:00
..
2021-10-01 12:03:48 +02:00
2021-10-01 12:03:48 +02:00
2021-10-01 12:03:48 +02:00
2021-10-01 12:03:48 +02:00
2021-07-12 21:53:35 +02:00
2021-10-01 12:03:48 +02:00
2020-09-17 20:39:22 +02:00
2021-10-01 12:03:48 +02:00
2021-10-01 12:03:48 +02:00
2021-10-01 12:03:48 +02:00
2021-10-01 12:03:48 +02:00
2021-10-01 12:03:48 +02:00
2021-10-01 12:03:48 +02:00
2021-10-01 12:03:48 +02:00
2021-10-01 12:03:48 +02:00
2021-10-21 11:42:47 +11:00
2021-10-01 12:03:48 +02:00
2021-10-01 12:03:48 +02:00
2021-10-01 12:03:48 +02:00
2021-10-01 12:03:48 +02:00
2021-10-01 12:03:48 +02:00
2021-10-01 12:03:48 +02:00
2019-06-10 07:03:34 -07:00
2021-10-21 11:42:47 +11:00
2021-07-12 21:53:35 +02:00
2021-09-13 20:35:45 +02:00
2021-09-13 20:35:45 +02:00
2021-07-12 21:54:46 +02:00
2020-09-17 20:39:22 +02:00
2021-09-13 20:35:45 +02:00
2021-01-07 05:09:06 -10:00
2016-07-19 15:22:33 +03:00
2021-09-13 20:35:45 +02:00
2021-09-13 20:35:44 +02:00
2021-09-16 21:09:18 +01:00
2021-10-18 12:51:39 -06:00
2021-09-13 20:35:45 +02:00
2021-09-13 20:35:45 +02:00
2021-09-13 20:35:45 +02:00
2021-07-12 21:53:35 +02:00
2021-09-13 20:35:45 +02:00
2021-10-01 12:03:47 +02:00
2021-10-01 12:03:47 +02:00
2019-06-12 13:20:21 +02:00
2021-09-13 20:35:45 +02:00
2021-09-13 20:35:44 +02:00
2021-05-18 07:09:58 +02:00
2021-07-12 21:53:35 +02:00
2020-09-03 01:09:35 +02:00
2021-09-16 17:04:21 +02:00
2019-06-12 13:20:21 +02:00
2021-06-17 16:09:11 +02:00
2020-08-21 06:18:24 -04:00
2021-09-13 20:35:45 +02:00
2021-09-13 20:35:45 +02:00
2016-07-12 16:20:46 +02:00
2021-09-13 20:35:45 +02:00
2021-09-13 20:35:45 +02:00
2021-09-13 20:35:45 +02:00