This is the mail archive of the gdb-cvs@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]

[binutils-gdb] Revert "Fix build breakage"


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c23bbc1cdae6149de4175a75aa9bf9bcbc936fa4

commit c23bbc1cdae6149de4175a75aa9bf9bcbc936fa4
Author: Walfred Tedeschi <walfred.tedeschi@intel.com>
Date:   Tue Feb 9 11:36:54 2016 +0100

    Revert "Fix build breakage"
    
    This reverts commit 222cab58b7ed37df6e01dacb0932f400a2588137.

Diff:
---
 gdb/gdbserver/ChangeLog       | 4 ----
 gdb/gdbserver/linux-x86-low.c | 8 ++++----
 2 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 8f6207e..e0da782 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -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
diff --git a/gdb/gdbserver/linux-x86-low.c b/gdb/gdbserver/linux-x86-low.c
index f32bd5d..ff51a95 100644
--- a/gdb/gdbserver/linux-x86-low.c
+++ b/gdb/gdbserver/linux-x86-low.c
@@ -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;


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