From: Pedro Alves Date: Fri, 24 Sep 2010 13:44:01 +0000 (+0000) Subject: PR gdb/11842 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e6ee044df39c93f2a1749061d45a11854dcee9f8;p=binutils-gdb.git 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b7703562386..dc0b5a20f02 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,7 @@ 2010-09-24 Pedro Alves + PR gdb/11842 + * 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 diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 250729ca8d8..f59b2e72c51 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,5 +1,7 @@ 2010-09-24 Pedro Alves + PR gdb/11842 + * 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