diff options
author | Tom Tromey <tromey@adacore.com> | 2020-11-20 08:22:46 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2020-11-20 08:22:46 -0700 |
commit | 14f62a099a0287c858ac7f4882e88736c11ed1cc (patch) | |
tree | 4fd1595ed9c281e91572785ba651dd85430dd0eb /libctf | |
parent | 9d37f01307db492370a260e3ef9aee10b363fec2 (diff) | |
download | gdb-14f62a099a0287c858ac7f4882e88736c11ed1cc.zip gdb-14f62a099a0287c858ac7f4882e88736c11ed1cc.tar.gz gdb-14f62a099a0287c858ac7f4882e88736c11ed1cc.tar.bz2 |
Ignore system_error in thread startup
libstdc++ might change so that it always implements std::thread, but
then have thread startup simply fail. This is being discussed here:
https://gcc.gnu.org/pipermail/gcc-patches/2020-November/558736.html
This patch pre-emptively changes gdb to handle this scenario. It
seemed fine to me to ignore all system errors at thread startup, so
that is what this does.
gdbsupport/ChangeLog
2020-11-20 Tom Tromey <tromey@adacore.com>
* thread-pool.cc (thread_pool::set_thread_count): Ignore system
errors.
Diffstat (limited to 'libctf')
0 files changed, 0 insertions, 0 deletions