2008-01-09 Luis Machado * testsuite/gdb.base/watch_thread_num.c: Change shared_var to long and remove usleep call. Index: gdb/testsuite/gdb.base/watch_thread_num.c =================================================================== --- gdb.orig/testsuite/gdb.base/watch_thread_num.c 2008-01-08 19:21:06.000000000 -0800 +++ gdb/testsuite/gdb.base/watch_thread_num.c 2008-01-08 19:28:29.000000000 -0800 @@ -53,10 +53,7 @@ int my_number = (long) arg; /* Don't run forever. Run just short of it :) */ while (shared_var > 0) - { shared_var++; - usleep (1); /* Loop increment. */ - } pthread_exit (NULL); }