old-cross-binutils/gdb/testsuite/gdb.threads
Jan Kratochvil 432b4d03ad gdb/
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.

gdb/testsuite/
	* gdb.threads/leader-exit.c: New file.
	* gdb.threads/leader-exit.exp: New file.
2011-05-27 16:55:39 +00:00
..
attach-into-signal.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
attach-into-signal.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
attach-stopped.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
attach-stopped.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
attachstop-mt.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
attachstop-mt.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
bp_in_thread.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
bp_in_thread.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
corethreads.c gdb/testsuite/ 2011-05-06 16:03:51 +00:00
corethreads.exp gdb/testsuite/ 2011-05-06 16:03:51 +00:00
current-lwp-dead.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
current-lwp-dead.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
execl.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
execl.exp gdb 2011-03-07 16:03:04 +00:00
execl1.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
fork-child-threads.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
fork-child-threads.exp Centralize printing "<optimized out>". 2011-01-25 16:26:23 +00:00
fork-thread-pending.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
fork-thread-pending.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
gcore-thread.exp gdb/testsuite/ 2011-05-06 16:01:40 +00:00
hand-call-in-threads.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
hand-call-in-threads.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
ia64-sigill.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
ia64-sigill.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
interrupted-hand-call.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
interrupted-hand-call.exp * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in 2011-03-09 14:17:05 +00:00
killed.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
killed.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
leader-exit.c gdb/ 2011-05-27 16:55:39 +00:00
leader-exit.exp gdb/ 2011-05-27 16:55:39 +00:00
linux-dp.c
linux-dp.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
local-watch-wrong-thread.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
local-watch-wrong-thread.exp * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure. 2011-02-21 14:57:38 +00:00
Makefile.in 2011-02-22 Michael Snyder <msnyder@vmware.com> 2011-02-22 20:52:49 +00:00
manythreads.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
manythreads.exp gdb 2011-01-19 17:21:39 +00:00
multi-create.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
multi-create.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
pending-step.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
pending-step.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
print-threads.c
print-threads.exp gdb 2011-03-07 16:03:04 +00:00
pthread_cond_wait.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
pthread_cond_wait.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
pthreads.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
pthreads.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
schedlock.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
schedlock.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sigthread.c
sigthread.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
staticthreads.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
staticthreads.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
step.c
step.exp gdb 2011-03-07 16:03:04 +00:00
step2.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
switch-threads.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
switch-threads.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
thread-execl.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
thread-execl.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
thread-find.exp 2011-02-22 Michael Snyder <msnyder@vmware.com> 2011-02-22 18:51:27 +00:00
thread-specific.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
thread-specific.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
thread-unwindonsignal.exp * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in 2011-03-09 14:17:05 +00:00
thread_check.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
thread_check.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
thread_events.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
thread_events.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
threadapply.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
threadapply.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
threxit-hop-specific.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
threxit-hop-specific.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
tls-main.c
tls-nodebug.c
tls-nodebug.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
tls-shared.c
tls-shared.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
tls.c gdb 2010-09-14 19:08:30 +00:00
tls.exp gdb 2011-03-07 16:03:04 +00:00
tls2.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
watchthreads-reorder.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
watchthreads-reorder.exp * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure. 2011-02-21 14:57:38 +00:00
watchthreads.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
watchthreads.exp * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure. 2011-02-21 14:57:38 +00:00
watchthreads2.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
watchthreads2.exp * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure. 2011-02-21 14:57:38 +00:00