This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: linux native, switch forks, always have a thread
- From: Pedro Alves <pedro at codesourcery dot com>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 1 May 2008 23:51:40 +0100
- Subject: Re: linux native, switch forks, always have a thread
- References: <200804301536.30066.pedro@codesourcery.com> <20080501203540.GU22218@caradoc.them.org>
A Thursday 01 May 2008 21:35:40, Daniel Jacobowitz wrote:
> On Wed, Apr 30, 2008 at 03:36:30PM +0100, Pedro Alves wrote:
> > 2008-04-30 Pedro Alves <pedro@codesourcery.com>
> >
> > * linux-nat.c (linux_nat_switch_fork): Reinit GDB's thread list
> > and register the fork's PTID as a thread.
>
> OK. I wonder what this does to those thread creation notifications
> though... someone gets to sort that out during multi-process. :-)
It's in. Thanks. Yeah, the frontend gets no clue the process
changed, so this is undefined-land (yet) :-)
--
Pedro Alves