This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Fix for siginfo corruption on Solaris
- From: Daniel Jacobowitz <drow at false dot org>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Sun, 16 Dec 2007 16:57:51 -0500
- Subject: Re: Fix for siginfo corruption on Solaris
- References: <Pine.LNX.4.64.0711272257260.12573@digraph.polyomino.org.uk>
On Tue, Nov 27, 2007 at 10:58:28PM +0000, Joseph S. Myers wrote:
> This patch fixes a problem where GDB lost the original siginfo when
> resending a signal it had caught on Solaris.
>
> Tested on sparc-sun-solaris2.10.1. In the course of testing I found
> that this target was incorrectly using the old /proc API, so I fixed
> the configure test to allow versions such as 2.10.1; the procfs.c
> changes have been tested both before and after this configure fix, so
> covering both NEW_PROC_API and non-NEW_PROC_API cases. OK to commit?
No one who knows more about Solaris has objected, so this is OK
> +if [target_info exists gdb,nosignals] {
> + verbose "Skipping siginfo-addr.exp because of nosignals."
> + continue
> +}
Pedantically, this needs gdb_skip_stdio_test too:
if [gdb_skip_stdio_test "siginfo-addr.exp"] {
continue
}
--
Daniel Jacobowitz
CodeSourcery