From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27482 invoked by alias); 1 May 2008 22:52:01 -0000 Received: (qmail 27474 invoked by uid 22791); 1 May 2008 22:52:00 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 01 May 2008 22:51:43 +0000 Received: (qmail 4204 invoked from network); 1 May 2008 22:51:41 -0000 Received: from unknown (HELO orlando.local) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 1 May 2008 22:51:41 -0000 From: Pedro Alves To: Daniel Jacobowitz Subject: Re: linux native, switch forks, always have a thread Date: Thu, 01 May 2008 22:52:00 -0000 User-Agent: KMail/1.9.9 Cc: gdb-patches@sourceware.org References: <200804301536.30066.pedro@codesourcery.com> <20080501203540.GU22218@caradoc.them.org> In-Reply-To: <20080501203540.GU22218@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805012351.40266.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-05/txt/msg00049.txt.bz2 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 > > > > * 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