From 14f62a099a0287c858ac7f4882e88736c11ed1cc Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 20 Nov 2020 08:22:46 -0700 Subject: 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 * thread-pool.cc (thread_pool::set_thread_count): Ignore system errors. --- gdbsupport/ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gdbsupport/ChangeLog') 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 + + * thread-pool.cc (thread_pool::set_thread_count): Ignore system + errors. + 2020-11-10 Tom Tromey PR build/26848: -- cgit v1.1