Revert "Fix build breakage"
authorWalfred Tedeschi <walfred.tedeschi@intel.com>
Tue, 9 Feb 2016 10:36:54 +0000 (11:36 +0100)
committerWalfred Tedeschi <walfred.tedeschi@intel.com>
Tue, 9 Feb 2016 10:36:54 +0000 (11:36 +0100)
This reverts commit 222cab58b7ed37df6e01dacb0932f400a2588137.

gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-x86-low.c

index 8f6207e6c4ac5544b03b5a6ebf01f75a1c853f46..e0da782a0ac1d5f1cbb227bdac9d7c80f5c2851c 100644 (file)
@@ -1,7 +1,3 @@
-2016-02-09  Walfred Tedeschi  <walfred.tedeschi@intel.com>
-
-       * linux-x86-low.c (x86_siginfo_fixup): Add cast to gdb_byte*.
-
 2016-02-02  Walfred Tedeschi  <walfred.tedeschi@intel.com>
 
        * configure.srv (x86_64-*-linux*): Add amd64-linux-siginfo.o
index f32bd5dcebb4e7f59446963990dd77a6b0fa3509..ff51a95357b6e929fb00f08d00bacdb8ffc74759 100644 (file)
@@ -690,12 +690,12 @@ x86_siginfo_fixup (siginfo_t *native, void *inf, int direction)
 
   /* Is the inferior 32-bit?  If so, then fixup the siginfo object.  */
   if (!is_64bit_tdesc ())
-      return amd64_linux_siginfo_fixup_common (native, (gdb_byte *) inf,
-                                              direction, FIXUP_32);
+      return amd64_linux_siginfo_fixup_common (native, inf, direction,
+                                              FIXUP_32);
   /* No fixup for native x32 GDB.  */
   else if (!is_elf64 && sizeof (void *) == 8)
-    return amd64_linux_siginfo_fixup_common (native, (gdb_byte *) inf,
-                                            direction, FIXUP_X32);
+    return amd64_linux_siginfo_fixup_common (native, inf, direction,
+                                            FIXUP_X32);
 #endif
 
   return 0;