aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2010-09-24 13:44:01 +0000
committerPedro Alves <palves@redhat.com>2010-09-24 13:44:01 +0000
commite6ee044df39c93f2a1749061d45a11854dcee9f8 (patch)
treeeae417cab09288ec2448ec8aee04fb50aa0b10ad
parentb53a162374facf8ec3d09b5db6cba01c70e38d9c (diff)
downloadgdb-e6ee044df39c93f2a1749061d45a11854dcee9f8.zip
gdb-e6ee044df39c93f2a1749061d45a11854dcee9f8.tar.gz
gdb-e6ee044df39c93f2a1749061d45a11854dcee9f8.tar.bz2
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.
-rw-r--r--gdb/ChangeLog2
-rw-r--r--gdb/gdbserver/ChangeLog2
2 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b770356..dc0b5a2 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 250729c..f59b2e7 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -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