提交 b88290cd 编写于 作者: A Anton Blanchard 提交者: David Gibson

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: NAnton Blanchard <anton@samba.org>
Fixes: e62fbc54 ("target-ppc: dump-guest-memory support")
Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
上级 cd60d85e
......@@ -50,7 +50,7 @@ struct PPCUserRegStruct {
struct PPCElfPrstatus {
char pad1[112];
struct PPCUserRegStruct pr_reg;
reg_t pad2[4];
char pad2[40];
} QEMU_PACKED;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册