This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/20287] X32 and "gdb_static_assert (sizeof (nat_siginfo_t) == sizeof (siginfo_t))"


https://sourceware.org/bugzilla/show_bug.cgi?id=20287

--- Comment #4 from Walfred Tedeschi <walfred.tedeschi at intel dot com> ---
Pedro,

I think the assert has to be changed.
We have to guarantee that what we need there is:

gdb_static_assert (sizeof (nat_siginfo_t) >= sizeof (siginfo_t))

siginfo have to be anyway back compatible.
In this way we get a fault when new siginfo is created, so we need to implement
it.

Do you agree?

Thanks and regards,
/Fred


-----Original Message-----
From: palves at redhat dot com [mailto:sourceware-bugzilla@sourceware.org] 
Sent: Wednesday, June 22, 2016 10:15 AM
To: Tedeschi, Walfred <walfred.tedeschi@intel.com>
Subject: [Bug gdb/20287] X32 and "gdb_static_assert (sizeof (nat_siginfo_t) ==
sizeof (siginfo_t))"

https://sourceware.org/bugzilla/show_bug.cgi?id=20287

Pedro Alves <palves at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |palves at redhat dot com,
                   |                            |walfred.tedeschi at intel dot
com

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]