This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA: Fix lin-lwp SIGINT handling for 2.6
- From: Michael Elizabeth Chastain <mec at shout dot net>
- To: drow at mvista dot com, gdb-patches at sources dot redhat dot com
- Cc: kettenis at gnu dot org, msnyder at redhat dot com
- Date: Wed, 27 Aug 2003 14:14:09 -0400
- Subject: Re: RFA: Fix lin-lwp SIGINT handling for 2.6
No regressions, no improvements in my test bed,
which is native i686-pc-linux-gnu, red hat 8.0,
glibc 2.2.93-5-rh.
schedlock.exp counts:
PASS FAIL
thread 0 ran 5 29
thread 1 ran 33 1
thread 2 ran 32 2
thread 3 ran 34 0
thread 4 ran 31 3
thread 5 ran 34 0
It's okay with me to commit this.
Michael C
===
2003-08-26 Daniel Jacobowitz <drow@mvista.com>
* lin-lwp.c (detach_callback): Don't call stop_wait_callback.
(stop_wait_callback): Handle !lp->signalled also.
(lin_lwp_has_pending, flush_callback): New functions.
(lin_lwp_wait): Call flush_callback.
* linux-proc.c (linux_proc_add_line_to_sigset): New function.
(linux_proc_pending_signals): New function.
* linux-nat.h (linux_proc_pending_signals): Add prototype.