From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21072 invoked by alias); 25 Oct 2006 15:03:54 -0000 Received: (qmail 21063 invoked by uid 22791); 25 Oct 2006 15:03:54 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Wed, 25 Oct 2006 15:03:47 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GckIC-0005EE-N9; Wed, 25 Oct 2006 11:03:44 -0400 Date: Wed, 25 Oct 2006 15:03:00 -0000 From: Daniel Jacobowitz To: Robert Schwebel Cc: Benedikt Spranger , gdb@sourceware.org, Marc Kleine-Budde , Luotao Fu Subject: Re: thread-debuging with gdbserver on ARM/NPTL Message-ID: <20061025150344.GA20038@nevyn.them.org> Mail-Followup-To: Robert Schwebel , Benedikt Spranger , gdb@sourceware.org, Marc Kleine-Budde , Luotao Fu References: <20061024202933.1d5129b9.b.spranger@linutronix.de> <20061024183404.GA16931@nevyn.them.org> <20061025144529.GQ18636@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061025144529.GQ18636@pengutronix.de> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-10/txt/msg00241.txt.bz2 On Wed, Oct 25, 2006 at 04:45:29PM +0200, Robert Schwebel wrote: > Here are some more details about the problem. It turned out that it > works if you link against libpthread dynamically and doesn't with > -static. Oh, right. Thread debugging of static applications using NPTL is particularly problematic. Take a look at this, for starters: http://sourceware.org/bugzilla/show_bug.cgi?id=2696 -- Daniel Jacobowitz CodeSourcery