This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/commit] Add support for DEC threads on alpha-osf
On Tuesday 07 October 2008 16:23:35, Joel Brobecker wrote:
> > ... maybe proc_get_current_thread returns 0, and then later on in
> > procfs_wait we're adding the main thread again, but then with an
> > lwp id already. But what sounded very strange is that the LWP is
> > number 3, not 1.
>
> I need to look further into this, but would it help explain things
> if I said that the LWPs are added when I do "info threads", not when
> the process stops?
Possibly maybe. Dunno, perhaps LWP ids 1 and 2 are gone when we go
through the shell doing fork/execs while doing the fork-child dance.
--
Pedro Alves