From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15524 invoked by alias); 6 Oct 2009 17:44:20 -0000 Received: (qmail 15512 invoked by uid 22791); 6 Oct 2009 17:44:19 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 06 Oct 2009 17:44:15 +0000 Received: (qmail 2428 invoked from network); 6 Oct 2009 17:44:13 -0000 Received: from unknown (HELO orlando) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 6 Oct 2009 17:44:13 -0000 From: Pedro Alves To: Michael Snyder Subject: Re: Potential problem between non-stop and linux-thread-db Date: Tue, 06 Oct 2009 17:44:00 -0000 User-Agent: KMail/1.9.10 Cc: "gdb@sourceware.org" References: <4ACA9270.3020205@vmware.com> <200910060149.26230.pedro@codesourcery.com> <4ACB7ED2.2060803@vmware.com> In-Reply-To: <4ACB7ED2.2060803@vmware.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200910061844.18580.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-10/txt/msg00112.txt.bz2 On Tuesday 06 October 2009 18:30:58, Michael Snyder wrote: > Pedro Alves wrote: > > On Tuesday 06 October 2009 01:42:24, Michael Snyder wrote: > > > > AFAIK, these callbacks weren't really used by glibc. Has that > > changed recently? > > Probably not. I was just looking at the code, not actually > running or debugging it. Feel free to put a comment there, or let me know if you'd like me to. In any case, in non-stop mode, at least the current lwp is always stopped already when we call into thread_db. It's likely that solaris' thread_db does make use of such callbacks. I didn't check, but well, they've invented the interface. We never did merge sol-threads.c and proc-service.c though, and solaris doesn't support non-stop presently anyway. -- Pedro Alves