aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/linux-x86-low.c
diff options
context:
space:
mode:
authorWalfred Tedeschi <walfred.tedeschi@intel.com>2016-02-09 11:36:54 +0100
committerWalfred Tedeschi <walfred.tedeschi@intel.com>2016-02-09 11:36:54 +0100
commitc23bbc1cdae6149de4175a75aa9bf9bcbc936fa4 (patch)
treea8967bf43de051c977c130b3236a88ceb2ef47d4 /gdb/gdbserver/linux-x86-low.c
parent0635c8759326e9431604b3359185cbf96740521d (diff)
downloadgdb-c23bbc1cdae6149de4175a75aa9bf9bcbc936fa4.zip
gdb-c23bbc1cdae6149de4175a75aa9bf9bcbc936fa4.tar.gz
gdb-c23bbc1cdae6149de4175a75aa9bf9bcbc936fa4.tar.bz2
Revert "Fix build breakage"
This reverts commit 222cab58b7ed37df6e01dacb0932f400a2588137.
Diffstat (limited to 'gdb/gdbserver/linux-x86-low.c')
-rw-r--r--gdb/gdbserver/linux-x86-low.c8
1 files changed, 4 insertions, 4 deletions
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;