[PATCH] Stop 'configure --enable-threading' if std::thread doesn't work

Tom Tromey tom@tromey.com
Wed May 15 15:53:33 GMT 2024


>>>>> "Bernd" == Bernd Edlinger <bernd.edlinger@hotmail.de> writes:

Bernd> I wonder if we should declare --enable-threading an experimental feature
Bernd> for the time being, given how many open issues it created so far,
Bernd> and thus simply make it disabled by default?

No, we should not do that.

First, threading has been enabled for several releases now.  The build
issue here is that GCC also changed, but GCC and GDB aren't coordinated
on which Windows versions are supported.  So, that's caused some
friction.

The races on the other hand are caused by the background reading
series -- not threading in general.  Entirely disabling threading would
be a big step backward.

I think fixing the background reading problem is as simple as changing
'dwarf_synchronous' to default to 'true'.  Though I still am holding out
hope to fix the problems for real.

Tom


More information about the Gdb-patches mailing list