From 1e9f977e1f87e80e6832cc663bef3d64178e4a4e Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Fri, 23 Apr 2004 19:01:17 +0000 Subject: [PATCH] 2004-04-23 Ulrich Weigand * gdb.threads/manythreads.c: Reduce thread stack size. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.threads/manythreads.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 4d0d2c3108c..29f35e1ea92 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-04-23 Ulrich Weigand + + * gdb.threads/manythreads.c: Reduce thread stack size. + 2004-04-23 Jeff Johnston * gdb.threads/manythreads.c: Add copyright notice. diff --git a/gdb/testsuite/gdb.threads/manythreads.c b/gdb/testsuite/gdb.threads/manythreads.c index bc0d9b67a6d..e39412cde8f 100644 --- a/gdb/testsuite/gdb.threads/manythreads.c +++ b/gdb/testsuite/gdb.threads/manythreads.c @@ -24,6 +24,7 @@ #include #include +#include void * thread_function (void *arg) @@ -43,6 +44,7 @@ main (int argc, char **argv) int i, j; pthread_attr_init (&attr); + pthread_attr_setstacksize (&attr, PTHREAD_STACK_MIN); /* Create a ton of quick-executing threads, then wait for them to complete. */ -- 2.30.2