This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix for siginfo corruption on Solaris


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]