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: [RFA] fix crasher on detach command


On Tuesday 08 June 2010 01:11:19, Michael Snyder wrote:
> Pedro Alves wrote:
> 
> > To be a bit clearer --
> > 
> >  you've said that the pid was left as 42000 (I assume you meant
> > inferior_ptid, but that find_inferior no longer finds that inferior.
> > Where is the current inferior getting it's pid cleared out?  Why
> > aren't we clearing inferior_ptid as well?
> 
> 
> OK, right.
> 
> remote_close calls discard_all_inferiors -- it should also
> set inferior_ptid to null_ptid at the same time.
> How's this patch?

Yes, that's better.  That patch is okay.

-- 
Pedro Alves


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