This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: linux native, switch forks, always have a thread


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]