Imported Upstream version 7.9
[platform/upstream/gdb.git] / gdb / testsuite / gdb.threads / fork-thread-pending.c
index 82317d4..883bdbc 100644 (file)
@@ -1,6 +1,6 @@
 /* This testcase is part of GDB, the GNU debugger.
 
-   Copyright 2008-2012 Free Software Foundation, Inc.
+   Copyright 2008-2015 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);