Convert siginfo for x32 in gdbserver
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 12 Apr 2012 21:06:12 +0000 (21:06 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 12 Apr 2012 21:06:12 +0000 (21:06 +0000)
commitc92b51775c3e27a5efa0fff83ebc8d75c92fc22b
tree51a1ae24d381d4474c080174ff47f1dcee6166fc
parent2615994e91176ae1a147439f81c452e5f5965920
Convert siginfo for x32 in gdbserver

* linux-x86-low.c (compat_x32_clock_t): New.
(compat_x32_siginfo_t): Likewise.
(compat_x32_siginfo_from_siginfo): Likewise.
(siginfo_from_compat_x32_siginfo): Likewise.
(linux_is_elf64): Likewise.
(x86_siginfo_fixup): Call compat_x32_siginfo_from_siginfo
and siginfo_from_compat_x32_siginfo for x32.
(x86_arch_setup): Set linux_is_elf64.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-x86-low.c