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: Daniel Jacobowitz <drow at false dot org>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 1 May 2008 16:35:40 -0400
- Subject: Re: linux native, switch forks, always have a thread
- References: <200804301536.30066.pedro@codesourcery.com>
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. :-)
--
Daniel Jacobowitz
CodeSourcery