From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7485 invoked by alias); 24 Oct 2006 18:34:25 -0000 Received: (qmail 7475 invoked by uid 22791); 24 Oct 2006 18:34:24 -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; Tue, 24 Oct 2006 18:34:09 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GcR6C-0004Pn-JK; Tue, 24 Oct 2006 14:34:04 -0400 Date: Tue, 24 Oct 2006 18:34:00 -0000 From: Daniel Jacobowitz To: Benedikt Spranger Cc: gdb@sourceware.org Subject: Re: thread-debuging with gdbserver on ARM/NPTL Message-ID: <20061024183404.GA16931@nevyn.them.org> Mail-Followup-To: Benedikt Spranger , gdb@sourceware.org References: <20061024202933.1d5129b9.b.spranger@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061024202933.1d5129b9.b.spranger@linutronix.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/msg00231.txt.bz2 On Tue, Oct 24, 2006 at 08:29:33PM +0200, Benedikt Spranger wrote: > Attaching gdb to gdbserver, set the above breakpoints and issue "cont", > then the program stops at breakpoint BP1. BP2 is never reached, although > the thread is visible via "ps" on the target system. The thread is stuck > in sys_futex and not as expected in the ptrace breakpoint trap. Also gdb > does not show that the thread was created. > > This can be reproduced with glibc 2.3.6 -> 2.5, kernel 2.6.14 -> > 2.6.19-rc2, gcc 3.4 -> 4.1.1 and binutils up to cvs-latest. Well, it works just fine for me, so you may want to investigate your setup. Have you set solib-absolute-prefix, the most frequent problem? Check if "info shared" and "info threads" show sensible output. -- Daniel Jacobowitz CodeSourcery