From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21234 invoked by alias); 28 Jun 2002 13:29:33 -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 21226 invoked from network); 28 Jun 2002 13:29:30 -0000 Received: from unknown (HELO hindon.hss.co.in) (202.54.26.202) by sources.redhat.com with SMTP; 28 Jun 2002 13:29:30 -0000 Received: from ultra.hss.co.in (ultra.hss.hns.com [192.168.100.5]) by hindon.hss.co.in (8.10.0/8.10.0) with ESMTP id g5SDU6Y28169; Fri, 28 Jun 2002 19:00:06 +0530 (IST) Received: from sandesh.hss.hns.com (localhost [127.0.0.1]) by ultra.hss.co.in (8.10.0/8.10.0) with SMTP id g5SDUX803275; Fri, 28 Jun 2002 19:00:33 +0530 (IST) Received: by sandesh.hss.hns.com(Lotus SMTP MTA v4.6.3 (733.2 10-16-1998)) id 65256BE6.0049C49A ; Fri, 28 Jun 2002 18:55:44 +0530 X-Lotus-FromDomain: HSS From: dyadav@hss.hns.com To: Daniel Jacobowitz cc: gdb@sources.redhat.com Message-ID: <65256BE6.0049C398.00@sandesh.hss.hns.com> Date: Fri, 28 Jun 2002 06:29:00 -0000 Subject: Re: GDB and Thread Problems Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline X-SW-Source: 2002-06/txt/msg00313.txt.bz2 Hi Thanks for reply. Is this library avaialable for freebsd . or GLIBC -suppotrs/compiles freebsd. Thanks & Regargs Deepak Daniel Jacobowitz on 06/28/2002 06:55:20 PM To: Deepak Yadav/HSS@HSS cc: gdb@sources.redhat.com Subject: Re: GDB and Thread Problems 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