From: Jan Kratochvil Date: Wed, 27 Feb 2013 18:48:23 +0000 (+0000) Subject: gdb/testsuite/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5b967901c5e4ac6f4d4e0df081e72246ca9056ff;p=binutils-gdb.git gdb/testsuite/ * gdb.threads/fork-thread-pending.c (main): Add alarm. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 3b34dc63cf2..5fab3bc9927 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2013-02-27 Jan Kratochvil + + * gdb.threads/fork-thread-pending.c (main): Add alarm. + 2013-02-27 Jan Kratochvil * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable. diff --git a/gdb/testsuite/gdb.threads/fork-thread-pending.c b/gdb/testsuite/gdb.threads/fork-thread-pending.c index 43188bd343a..1c06c0bb2e5 100644 --- a/gdb/testsuite/gdb.threads/fork-thread-pending.c +++ b/gdb/testsuite/gdb.threads/fork-thread-pending.c @@ -94,6 +94,8 @@ main (void) int args[NUMTHREADS]; int i, j; + alarm (600); + i = pthread_barrier_init (&barrier, NULL, NUMTHREADS); assert (i == 0);