to 2*PTHREAD_STACK_MIN.
* gdb.threads/multi-create.c (main): Likewise.
(create_function): Likewise.
+2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
+
+ * gdb.threads/manythreads.c (main): Increase thread stack size
+ to 2*PTHREAD_STACK_MIN.
+ * gdb.threads/multi-create.c (main): Likewise.
+ (create_function): Likewise.
+
2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.base/dump.exp: Pass difference of pointer types instead
pthread_attr_init (&attr);
#ifdef PTHREAD_STACK_MIN
- pthread_attr_setstacksize (&attr, PTHREAD_STACK_MIN);
+ pthread_attr_setstacksize (&attr, 2*PTHREAD_STACK_MIN);
#endif
/* Create a ton of quick-executing threads, then wait for them to
int j;
pthread_attr_init (&attr); /* set breakpoint 1 here. */
- pthread_attr_setstacksize (&attr, PTHREAD_STACK_MIN);
+ pthread_attr_setstacksize (&attr, 2*PTHREAD_STACK_MIN);
/* Create a ton of quick-executing threads, then wait for them to
complete. */
int n, i;
pthread_attr_init (&attr);
- pthread_attr_setstacksize (&attr, PTHREAD_STACK_MIN);
+ pthread_attr_setstacksize (&attr, 2*PTHREAD_STACK_MIN);
for (n = 0; n < 100; ++n)
{