gdb/testsuite/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 27 Feb 2013 18:48:23 +0000 (18:48 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 27 Feb 2013 18:48:23 +0000 (18:48 +0000)
* gdb.threads/fork-thread-pending.c (main): Add alarm.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.threads/fork-thread-pending.c

index 3b34dc63cf226fa1fdcb087ea5912aba866e8dd1..5fab3bc992718d9ea3f9d5df5af7cf48ae8135b2 100644 (file)
@@ -1,3 +1,7 @@
+2013-02-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.threads/fork-thread-pending.c (main): Add alarm.
+
 2013-02-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
index 43188bd343a4b4620283a657077e42e7adfe3e7b..1c06c0bb2e530d7e30e1999b60b5f88038a9a636 100644 (file)
@@ -94,6 +94,8 @@ main (void)
   int args[NUMTHREADS];
   int i, j;
 
+  alarm (600);
+
   i = pthread_barrier_init (&barrier, NULL, NUMTHREADS);
   assert (i == 0);