PR gdb/11842
authorPedro Alves <palves@redhat.com>
Fri, 24 Sep 2010 13:44:01 +0000 (13:44 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 24 Sep 2010 13:44:01 +0000 (13:44 +0000)
commite6ee044df39c93f2a1749061d45a11854dcee9f8
treeeae417cab09288ec2448ec8aee04fb50aa0b10ad
parentb53a162374facf8ec3d09b5db6cba01c70e38d9c
PR gdb/11842

gdb/
* amd64-linux-nat.c (compat_siginfo_from_siginfo)
(siginfo_from_compat_siginfo): Also copy si_pid and si_uid when
si_code is < 0.  Check for si_code == SI_TIMER before checking for
si_code < 0.

gdb/gdbserver/
* linux-x86-low.c (compat_siginfo_from_siginfo)
(siginfo_from_compat_siginfo): Also copy si_pid and si_uid when
si_code is < 0.  Check for si_code == SI_TIMER before checking for
si_code < 0.
gdb/ChangeLog
gdb/gdbserver/ChangeLog