2003-07-29 Michael Chastain <mec@shout.net>
authorMichael Chastain <mec@google.com>
Tue, 29 Jul 2003 21:51:25 +0000 (21:51 +0000)
committerMichael Chastain <mec@google.com>
Tue, 29 Jul 2003 21:51:25 +0000 (21:51 +0000)
commit51514e061b222877bfd594484905ab3693c837e8
treeffc9489a3a6cc79b169b73fdf6815cb92cd410ec
parent735979c78294364af204d7fe2fbe1ca14c0923d3
2003-07-29  Michael Chastain  <mec@shout.net>

* gdb.threads/tls.c (spin): Check errno only if sem_wait
actually failed.
(do_pass): Likewise.
* gdb.threads/tls.exp: Always initialize no_of_threads.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.threads/tls.c
gdb/testsuite/gdb.threads/tls.exp