projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd60d85
)
target/ppc: Fix size of struct PPCElfPrstatus
author
Anton Blanchard
<anton@samba.org>
Tue, 11 Apr 2017 06:04:56 +0000
(16:04 +1000)
committer
David Gibson
<david@gibson.dropbear.id.au>
Wed, 26 Apr 2017 02:41:55 +0000
(12:41 +1000)
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>
target/ppc/arch_dump.c
patch
|
blob
|
history
diff --git
a/target/ppc/arch_dump.c
b/target/ppc/arch_dump.c
index 28d9cc7d79a1f03b00323dc3c87627403d507a5b..8e9397aa5874fa65d5f0ebc11d812ef5040dbfdc 100644
(file)
--- 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;