diff options
author | Anton Blanchard | 2017-04-11 08:04:56 +0200 |
---|---|---|
committer | David Gibson | 2017-04-26 04:41:55 +0200 |
commit | b88290cd9ea474fea38c4733f365a3cd2519723e (patch) | |
tree | 3b5662d86bc02c60771bac724b8b69334955c068 /target | |
parent | ipmi: introduce an ipmi_bmc_gen_event() API (diff) | |
download | qemu-b88290cd9ea474fea38c4733f365a3cd2519723e.tar.gz qemu-b88290cd9ea474fea38c4733f365a3cd2519723e.tar.xz qemu-b88290cd9ea474fea38c4733f365a3cd2519723e.zip |
target/ppc: Fix size of struct PPCElfPrstatus
gdb refuses to parse QEMU memory dumps because struct PPCElfPrstatus
is the wrong size. Fix it.
Signed-off-by: Anton Blanchard <anton@samba.org>
Fixes: e62fbc54d459 ("target-ppc: dump-guest-memory support")
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'target')
-rw-r--r-- | target/ppc/arch_dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/ppc/arch_dump.c b/target/ppc/arch_dump.c index 28d9cc7d79..8e9397aa58 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; |