Index: gdb/testsuite/gdb.threads/fork-thread-pending.c |
diff --git a/gdb/testsuite/gdb.threads/fork-thread-pending.c b/gdb/testsuite/gdb.threads/fork-thread-pending.c |
index 82317d4b37544ac859e2094b60fba4d1a58f090c..1c06c0bb2e530d7e30e1999b60b5f88038a9a636 100644 |
--- a/gdb/testsuite/gdb.threads/fork-thread-pending.c |
+++ b/gdb/testsuite/gdb.threads/fork-thread-pending.c |
@@ -1,6 +1,6 @@ |
/* This testcase is part of GDB, the GNU debugger. |
- Copyright 2008-2012 Free Software Foundation, Inc. |
+ Copyright 2008-2013 Free Software Foundation, Inc. |
This program is free software; you can redistribute it and/or modify |
it under the terms of the GNU General Public License as published by |
@@ -94,6 +94,8 @@ main (void) |
int args[NUMTHREADS]; |
int i, j; |
+ alarm (600); |
+ |
i = pthread_barrier_init (&barrier, NULL, NUMTHREADS); |
assert (i == 0); |