diff options
author | Tom Tromey <tromey@adacore.com> | 2022-03-31 08:26:12 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2022-04-14 09:28:56 -0600 |
commit | c560a5fbae3b6e0b7c2119e6fc276941517377fa (patch) | |
tree | e07887af60fda3b3e30d5b491501fc28e41fe24d /gdb/c-lang.c | |
parent | 11d7dd3357997616427e22969ea8a929f5db59c9 (diff) | |
download | gdb-c560a5fbae3b6e0b7c2119e6fc276941517377fa.zip gdb-c560a5fbae3b6e0b7c2119e6fc276941517377fa.tar.gz gdb-c560a5fbae3b6e0b7c2119e6fc276941517377fa.tar.bz2 |
Let std::thread check pass even without pthreads
Currently, the configure check for std::thread relies on pthreads
existing. However, this means that if std::thread is implemented for
a non-pthreads host, then the check will yield the wrong answer. This
happened in AdaCore internal builds. Here, we have this GCC patch:
https://gcc.gnu.org/legacy-ml/gcc-patches/2019-06/msg01840.html
... which adds mingw support to GCC's gthreads implementation, and
also to std::thread.
This configure change fixes this problem and enables threading for
gdb.
Diffstat (limited to 'gdb/c-lang.c')
0 files changed, 0 insertions, 0 deletions