This is the mail archive of the
mailing list for the GDB project.
Re: [patch] Fix internal-error on dead LWPs with no associated thread
On Mon, 29 Jun 2009 23:43:23 +0200, Pedro Alves wrote:
> On Monday 29 June 2009 22:33:33, Jan Kratochvil wrote:
> > I do not share this opinion - not attaching short-lived threads should not be
> > allowed for performance reasons. ÂWhen such short-lived thread crashes GDB
> > should catch such crash.
> Sorry, this makes no sense. GDB is automaticaly attached to cloned
> threads. You won't miss any crash. You're thinking of discovering
> threads with thread_db?
I agree my comment made no sense. I was thinking of the case when
linux_test_for_tracefork() fails and PTRACE_O_TRACEFORK is not in effect; but
that is not possible on the current systems.