From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14336 invoked by alias); 14 Aug 2006 20:59:02 -0000 Received: (qmail 14327 invoked by uid 22791); 14 Aug 2006 20:59:01 -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; Mon, 14 Aug 2006 20:58:59 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GCjWS-00005M-Np; Mon, 14 Aug 2006 16:58:56 -0400 Date: Mon, 14 Aug 2006 20:59:00 -0000 From: Daniel Jacobowitz To: Rob Kramer Cc: gdb@sourceware.org Subject: Re: Missing thread support.. Message-ID: <20060814205856.GA301@nevyn.them.org> Mail-Followup-To: Rob Kramer , gdb@sourceware.org References: <200608142352.23711.robk@starhub.net.sg> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200608142352.23711.robk@starhub.net.sg> User-Agent: Mutt/1.5.11+cvs20060403 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-08/txt/msg00118.txt.bz2 On Mon, Aug 14, 2006 at 11:52:23PM +0800, Rob Kramer wrote: > Hi, > > When trying to find a deadlock in my program, I noticed my gdb (6.4 for > i586-linux target, cross-compiled by OpenEmbedded) lacks thread support. It > doesn't detect when a new thread starts, and 'info threads' always returns an > empty list. Below is the output on i586-linux, versus a proper setup that > works as expected: > > OpenEmbedded distro (gdb 6.4): > -------------------- > This GDB was configured as "i586-linux"...Using host libthread_db library > "/lib/libthread_db.so.1". No, if your GDB didn't have thread support, it wouldn't have loaded libthread_db. OpenEmbedded has probably got a broken libthread_db, or an excessively stripped libpthread.so. -- Daniel Jacobowitz CodeSourcery