[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 34/48] target/ppc: Fix size of struct PPCElfPrstatus
From: |
David Gibson |
Subject: |
[Qemu-devel] [PULL 34/48] target/ppc: Fix size of struct PPCElfPrstatus |
Date: |
Wed, 26 Apr 2017 17:00:20 +1000 |
From: Anton Blanchard <address@hidden>
gdb refuses to parse QEMU memory dumps because struct PPCElfPrstatus
is the wrong size. Fix it.
Signed-off-by: Anton Blanchard <address@hidden>
Fixes: e62fbc54d459 ("target-ppc: dump-guest-memory support")
Signed-off-by: David Gibson <address@hidden>
---
target/ppc/arch_dump.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/ppc/arch_dump.c b/target/ppc/arch_dump.c
index 28d9cc7..8e9397a 100644
--- a/target/ppc/arch_dump.c
+++ b/target/ppc/arch_dump.c
@@ -50,7 +50,7 @@ struct PPCUserRegStruct {
struct PPCElfPrstatus {
char pad1[112];
struct PPCUserRegStruct pr_reg;
- reg_t pad2[4];
+ char pad2[40];
} QEMU_PACKED;
--
2.9.3
- [Qemu-devel] [PULL 21/48] ppc/pnv: add a PnvICPState object, (continued)
- [Qemu-devel] [PULL 21/48] ppc/pnv: add a PnvICPState object, David Gibson, 2017/04/26
- [Qemu-devel] [PULL 26/48] ppc/pnv: add memory regions for the ICP registers, David Gibson, 2017/04/26
- [Qemu-devel] [PULL 30/48] ipmi: use a file to load SDRs, David Gibson, 2017/04/26
- [Qemu-devel] [PULL 31/48] ipmi: provide support for FRUs, David Gibson, 2017/04/26
- [Qemu-devel] [PULL 39/48] ppc/pnv: populate device tree for RTC devices, David Gibson, 2017/04/26
- [Qemu-devel] [PULL 28/48] ppc/pnv: Add OCC model stub with interrupt support, David Gibson, 2017/04/26
- [Qemu-devel] [PULL 41/48] ppc/pnv: populate device tree for IPMI BT devices, David Gibson, 2017/04/26
- [Qemu-devel] [PULL 29/48] ppc: add IPMI support, David Gibson, 2017/04/26
- [Qemu-devel] [PULL 35/48] spapr: remove the 'nr_servers' field from the machine, David Gibson, 2017/04/26
- [Qemu-devel] [PULL 36/48] ppc/pnv: Add support for POWER8+ LPC Controller, David Gibson, 2017/04/26
- [Qemu-devel] [PULL 34/48] target/ppc: Fix size of struct PPCElfPrstatus,
David Gibson <=
- [Qemu-devel] [PULL 38/48] ppc/pnv: scan ISA bus to populate device tree, David Gibson, 2017/04/26
- [Qemu-devel] [PULL 47/48] target/ppc: Style fixes, David Gibson, 2017/04/26
- [Qemu-devel] [PULL 48/48] MAINTAINERS: Remove myself from e500, David Gibson, 2017/04/26
- [Qemu-devel] [PULL 27/48] ppc/pnv: Add cut down PSI bridge model and hookup external interrupt, David Gibson, 2017/04/26
- [Qemu-devel] [PULL 40/48] ppc/pnv: populate device tree for serial devices, David Gibson, 2017/04/26
- [Qemu-devel] [PULL 32/48] ipmi: introduce an ipmi_bmc_sdr_find() API, David Gibson, 2017/04/26
- [Qemu-devel] [PULL 43/48] ppc/pnv: generate an OEM SEL event on shutdown, David Gibson, 2017/04/26
- [Qemu-devel] [PULL 42/48] ppc/pnv: add initial IPMI sensors for the BMC simulator, David Gibson, 2017/04/26
- [Qemu-devel] [PULL 46/48] e500, book3s: mfspr 259: Register mapped/aliased SPRG3 user read, David Gibson, 2017/04/26
- [Qemu-devel] [PULL 37/48] ppc/pnv: enable only one LPC bus, David Gibson, 2017/04/26