From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20236 invoked by alias); 28 Jun 2002 13:25:40 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 20212 invoked from network); 28 Jun 2002 13:25:32 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 28 Jun 2002 13:25:32 -0000 Received: from 01-059.118.popsite.net ([66.19.120.59] helo=nevyn.them.org) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 17NvkU-0005IP-00; Fri, 28 Jun 2002 08:25:20 -0500 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 17NvkW-0008J4-00; Fri, 28 Jun 2002 09:25:20 -0400 Date: Fri, 28 Jun 2002 06:25:00 -0000 From: Daniel Jacobowitz To: dyadav@hss.hns.com Cc: gdb@sources.redhat.com Subject: Re: GDB and Thread Problems Message-ID: <20020628132519.GA31848@nevyn.them.org> Mail-Followup-To: dyadav@hss.hns.com, gdb@sources.redhat.com References: <65256BE6.00485728.00@sandesh.hss.hns.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <65256BE6.00485728.00@sandesh.hss.hns.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2002-06/txt/msg00312.txt.bz2 On Fri, Jun 28, 2002 at 06:40:08PM +0530, dyadav@hss.hns.com wrote: > > > > Hi > I am using GDB 5.2, on i386-unknown-freebsd4.2 . > > I am trying to debug a thread program ( Use PThread Library). > but i did not any output in info thread. What is the problem. > > (gdb) info threads > (gdb) thread > [Current thread is 0 (process 20038)] > (gdb) thread 1 > Thread ID 1 not known. > (gdb) > > Is it due to as i do not have the libthread_db.so.1 library. > #define LIBTHREAD_DB_SO "libthread_db.so.1" Probably. GDB will not debug threads without this (and an unstripped libpthread.so). -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer