Fix PR gdb/20287 - x32 and "gdb_static_assert (sizeof (nat_siginfo_t) == sizeof ...
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 394018844d9db71ad248158a7f38bd6a66573ff4..3a5e8707a3c5efe2fd2ad0901ce72af9b592d94d 100644 (file)
@@ -1,3 +1,22 @@
+2016-07-26  Pedro Alves  <palves@redhat.com>
+
+       * amd64-linux-nat.c (amd64_linux_siginfo_fixup): Rename 'native'
+       parameter to 'ptrace'.
+       * nat/amd64-linux-siginfo.c (GDB_SI_SIZE): New define.
+       (nat_uptr_t): New an unsigned long.
+       (nat_clock_t): Remove attribute __aligned__.
+       (struct nat_timeval): Delete.
+       (nat_siginfo_t): Remove attribute __aligned__.
+       (ptrace_siginfo_t): Define.
+       (compat_siginfo_from_siginfo, siginfo_from_compat_siginfo)
+       (compat_x32_siginfo_from_siginfo)
+       (siginfo_from_compat_x32_siginfo): Make 'from' parameter const.
+       Convert through a ptrace_siginfo_t instead of a nat_siginfo_t.
+       Remove casts.
+       (amd64_linux_siginfo_fixup_common): Rename 'native' parameter to
+       'ptrace'.  Remove static assertions.
+       (top level): New static assertions.
+
 2016-07-25  Simon Marchi  <simon.marchi@ericsson.com>
 
        * top.h (make_delete_ui_cleanup): New declaration.
This page took 0.025651 seconds and 4 git commands to generate.