Use elfcore_write_linux_prstatus in gdb

Alan Modra amodra@gmail.com
Thu Jan 21 14:44:00 GMT 2016


On Thu, Jan 21, 2016 at 02:26:11PM +0000, Pedro Alves wrote:
> As I said, "AFAICS, elf_prstatusx32 is exactly like elf_prstatus32,
> except it takes a 64-bit regset."  It's probably an issue
> of alignment/padding?

Yes, I guess that the presence of elf_gregset64_t for x32 changes the
alignment of the external struct, inserting 4 bytes of padding at the
end.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Gdb-patches mailing list