From 2f0c355a581ae5935b90dde50ac580f6b4900545 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 4d0d2c3108..29f35e1ea9 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 bc0d9b67a6..e39412cde8 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.11.0