From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1857 invoked by alias); 23 Jun 2003 15:20:27 -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 25148 invoked from network); 23 Jun 2003 14:59:55 -0000 Received: from unknown (HELO crack.them.org) (146.82.138.56) by sources.redhat.com with SMTP; 23 Jun 2003 14:59:55 -0000 Received: from dsl093-172-017.pit1.dsl.speakeasy.net ([66.93.172.17] helo=nevyn.them.org ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 19USnp-0004Q6-00; Mon, 23 Jun 2003 10:00:17 -0500 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 19USmv-0004W8-00; Mon, 23 Jun 2003 10:59:21 -0400 Date: Mon, 23 Jun 2003 15:20:00 -0000 From: Daniel Jacobowitz To: ramana@codito.com Cc: gdb@sources.redhat.com Subject: Re: Problem with multiple threads using gdbserver on x86. Message-ID: <20030623145919.GA17274@nevyn.them.org> Mail-Followup-To: ramana@codito.com, gdb@sources.redhat.com References: <1056365816.1389.20.camel@numenor.codito.co.in> <20030623124618.GA24330@nevyn.them.org> <1056373839.13118.2.camel@numenor.codito.co.in> <20030623131606.GA25130@nevyn.them.org> <20030623132811.GA30502@nevyn.them.org> <1056380381.13489.30.camel@numenor.codito.co.in> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1056380381.13489.30.camel@numenor.codito.co.in> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-06/txt/msg00449.txt.bz2 On Mon, Jun 23, 2003 at 08:29:42PM +0530, Ramana Radhakrishnan wrote: > On Mon, 2003-06-23 at 18:58, Daniel Jacobowitz wrote: > > I dunno. Probably just providing a stub for ps_get_thread_area > > (spelling?) will be enough to make it work. > there does not seem to be any reference to this function anywhere in the > gdbserver code that i have. maybe i have a very old version but the > source has not changed for the last 12 months or so for the thread-db.c > file. just checked that on cvs. the error seems to come in > thread_db_init() and precisely when it tries to find the new threads. You will have to look in the source to libthread_db, which is a part of glibc and in this case NPTL, in order to figure out why this is not working. Debugging libthread_db is, in general, a pain in the ass. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer