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 /gdbsupport/ChangeLog | |
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 'gdbsupport/ChangeLog')
-rw-r--r-- | gdbsupport/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdbsupport/ChangeLog b/gdbsupport/ChangeLog index 2e5b3fa..d1e46a3 100644 --- a/gdbsupport/ChangeLog +++ b/gdbsupport/ChangeLog @@ -1,3 +1,8 @@ +2020-11-20 Tom Tromey <tromey@adacore.com> + + * thread-pool.cc (thread_pool::set_thread_count): Ignore system + errors. + 2020-11-10 Tom Tromey <tromey@adacore.com> PR build/26848: |