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)
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

index b770356..dc0b5a2 100644 (file)
@@ -1,5 +1,7 @@
 2010-09-24  Pedro Alves  <pedro@codesourcery.com>
 
+       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
index 250729c..f59b2e7 100644 (file)
@@ -1,5 +1,7 @@
 2010-09-24  Pedro Alves  <pedro@codesourcery.com>
 
+       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