This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/20287] X32 and "gdb_static_assert (sizeof (nat_siginfo_t) == sizeof (siginfo_t))"
- From: "palves at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 22 Jun 2016 13:12:01 +0000
- Subject: [Bug gdb/20287] X32 and "gdb_static_assert (sizeof (nat_siginfo_t) == sizeof (siginfo_t))"
- Auto-submitted: auto-generated
- References: <bug-20287-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20287
--- Comment #13 from Pedro Alves <palves at redhat dot com> ---
All these different siginfo types give me headaches... :-) I don't know
exactly which of the foo_siginfo_t types needs to be adjusted.
If gdb is built as x32, isn't the layout of the siginfo_t object that
PTRACE_GETSIGINFO returns the full 64-bit layout? If so, then isn't
nat_siginfo_t all wrong for x32, since it uses x32 types (pointers, etc.)?
--
You are receiving this mail because:
You are on the CC list for the bug.