This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/11842] compat_siginfo_from_siginfo and siginfo_from_compat_siginfo are wrong
- From: "pedro at codesourcery dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 29 Sep 2010 09:03:51 -0000
- Subject: [Bug gdb/11842] compat_siginfo_from_siginfo and siginfo_from_compat_siginfo are wrong
- References: <20100726093712.11842.jan.kratochvil@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-09-24 13:44 -------
Subject: Bug 11842
CVSROOT: /cvs/src
Module name: src
Changes by: palves@sourceware.org 2010-09-24 13:44:02
Modified files:
gdb : ChangeLog
gdb/gdbserver : ChangeLog
Log message:
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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.12200&r2=1.12201
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/ChangeLog.diff?cvsroot=src&r1=1.432&r2=1.433
------- Additional Comments From pedro at codesourcery dot com 2010-09-29 09:03 -------
Patch checked in.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=11842
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.