From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27564 invoked by alias); 11 Jun 2008 12:08:25 -0000 Received: (qmail 27555 invoked by uid 22791); 11 Jun 2008 12:08:25 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 11 Jun 2008 12:08:07 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 127409840C; Wed, 11 Jun 2008 12:08:06 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id EDC0598402; Wed, 11 Jun 2008 12:08:05 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1K6P7V-00006N-42; Wed, 11 Jun 2008 08:08:05 -0400 Date: Wed, 11 Jun 2008 12:08:00 -0000 From: Daniel Jacobowitz To: Srinivas Murthy Cc: gdb@sourceware.org Subject: Re: gdb doesnt show nptl threads Message-ID: <20080611120805.GA372@caradoc.them.org> Mail-Followup-To: Srinivas Murthy , gdb@sourceware.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2008-05-11) 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: 2008-06/txt/msg00092.txt.bz2 On Wed, Jun 11, 2008 at 12:19:41AM -0700, Srinivas Murthy wrote: > Hi, > I have the following setup: > gdb6.6 built using a 64b glibc w/ nptl enabled > 64b glibc - 2.3.6 (nptl enabled) > > When I use gdb on a sample multi-threaded (nptl) app, I cant get any > thread specific gdb cmds to work. > > For ex. info threads shows only one thread (the main thread). > > Any idea what might be going wrong? Sometimes this means ld.so or libpthread.so was stripped. GDB needs to look up a few symbols from them. Also, try GDB 6.8. -- Daniel Jacobowitz CodeSourcery