[PATCH] Attach discard_pending_stop_replies to observer inferior_exit

Pedro Alves palves@redhat.com
Fri Dec 14 13:48:00 GMT 2012


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



More information about the Gdb-patches mailing list