This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Cannot find new threads: generic error
On Fri, Aug 29, 2008 at 05:43:38PM -0700, Paul Pluzhnikov wrote:
> If you do that on Linux, you should expect all kinds of trouble,
> because e.g. glibc very early on decides whether pthreads are
> present, and permanently switches to thread-unsafe behavior if they
> are not.
I'm pretty sure that's not correct. It checks at each runtime spot,
not initialization time - a lot of the complexity in glibc is to
support this.
--
Daniel Jacobowitz
CodeSourcery