From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28763 invoked by alias); 18 Jul 2010 18:04:11 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 28754 invoked by uid 22791); 18 Jul 2010 18:04:10 -0000 X-SWARE-Spam-Status: No, hits=-6.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Date: Sun, 18 Jul 2010 18:04:00 -0000 From: Oleg Nesterov To: Roland McGrath Cc: archer@sourceware.org Subject: Re: Q: mutlithreaded tracees && clone/exit Message-ID: <20100718180157.GA16091@redhat.com> References: <20100716205147.GA26313@redhat.com> <20100716213950.7A7BC40B45@magilla.sf.frob.com> <20100718174851.GA15528@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100718174851.GA15528@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-SW-Source: 2010-q3/txt/msg00034.txt.bz2 On 07/18, Oleg Nesterov wrote: > > I guess, gdbserver shouldn't send '$W' packet in this case, this can > confuse gdb (but I didn't verify this yet). I meant, I didn't verify what happens if gdb already knows about sub-threads. Otherwise it will be confused for sure. > OTOH, it is not clear if > gdbserver can delay this notification until all threads exit. Say, > what should gdbserver do if gdb sends a private signal to the exited > main thread? Or do something else which assumes it alive. Yes. Oleg.