diff options
author | John Baldwin <jhb@FreeBSD.org> | 2023-03-06 16:55:22 -0800 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2023-03-06 16:55:22 -0800 |
commit | 3c75f00adcea9d57c0d92669249dd884e49c4c3b (patch) | |
tree | 6d199f31f5256f3d2ff85b741281d43bb51da9e4 /binutils/strings.c | |
parent | 3625712636b1411d2b980217e7dd1ca8a4c8c502 (diff) | |
download | binutils-3c75f00adcea9d57c0d92669249dd884e49c4c3b.zip binutils-3c75f00adcea9d57c0d92669249dd884e49c4c3b.tar.gz binutils-3c75f00adcea9d57c0d92669249dd884e49c4c3b.tar.bz2 |
gdb.threads/multi-create: Double the existing stack size.
Setting the stack size to 2*PTHREAD_STACK_MIN actually lowered the
stack on FreeBSD rather than raising it causing non-main threads in
the test program to overflow their stack and crash. Double the
existing stack size rather than assuming that the initial stack size
is PTHREAD_STACK_MIN.
Diffstat (limited to 'binutils/strings.c')
0 files changed, 0 insertions, 0 deletions