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: [PATCH] Attach discard_pending_stop_replies to observer inferior_exit


On 12/14/2012 01:29 PM, Yao Qi wrote:
> On 12/14/2012 05:53 PM, Pedro Alves wrote:
>> GDB can be learning about new processes it didn't know about yet
>> from some yet-unprocessed stop reply.  So if we only clear stop replies
>> specific to each inferior, we'd leave those behind.  But, we're closing
>> the remote target here.  We really want to discard everything.
> 
> I see, then I change 'discard_pending_stop_replies' a little that INF
> is NULL means discard everything.  This patch is tested on x86_64-linux
> with native and gdbserver.  OK?

OK.

Thanks,
-- 
Pedro Alves


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