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: [patch] Workaround for 10970, 12702, avoid calling waitpid


On Wed, 18 May 2011 20:53:02 +0200, Jan Kratochvil wrote:
> gdb/
> 2011-05-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
> 	    Doug Evans  <dje@google.com>
> 
> 	Fix PR 10970, PR 12702.
> 	* linux-nat.c (linux_lwp_is_zombie): New function.
> 	(wait_lwp): Initialize status.  New variable prev_mask.  Block signals.
> 	Check for linux_lwp_is_zombie.  Use WNOHANG and sigsuspend.
> 
> testsuite/
> 2011-05-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
> 
> 	* gdb.threads/leader-exit.c: New file.
> 	* gdb.threads/leader-exit.exp: New file.

Checked in:
	http://sourceware.org/ml/gdb-cvs/2011-05/msg00228.html


Thanks,
Jan


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