From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27995 invoked by alias); 23 Jun 2003 16:30:46 -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 27801 invoked from network); 23 Jun 2003 16:30:43 -0000 Received: from unknown (HELO calvin.codito.com) (203.197.87.98) by sources.redhat.com with SMTP; 23 Jun 2003 16:30:43 -0000 Received: from numenor.codito.co.in (numenor.codito.co.in [192.168.100.52]) by calvin.codito.com (8.12.5/8.12.5) with ESMTP id h5NGRphk007932; Mon, 23 Jun 2003 21:58:11 +0530 Subject: Re: Problem with multiple threads using gdbserver on x86. From: Ramana Radhakrishnan Reply-To: ramana@codito.com To: Daniel Jacobowitz Cc: ramana@codito.com, gdb@sources.redhat.com In-Reply-To: <20030623162335.GA20652@nevyn.them.org> 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> <20030623145919.GA17274@nevyn.them.org> <1056385560.13489.51.camel@numenor.codito.co.in> <20030623162335.GA20652@nevyn.them.org> Content-Type: text/plain Organization: Codito Technologies Message-Id: <1056386110.13489.57.camel@numenor.codito.co.in> Mime-Version: 1.0 Date: Mon, 23 Jun 2003 16:30:00 -0000 Content-Transfer-Encoding: 7bit X-SW-Source: 2003-06/txt/msg00453.txt.bz2 hi daniel, > Gdbserver needs to know the location of the symbols. The way it does > this is by querying GDB on the host side for the addresses. but the only piece of code within the target specific function seems to be getting information regarding threads .maybe i am a bit dense but this really doesnt look like querying symbol specific information from gdb. The following snippet is the code from linux_look_up_symbols() { #ifdef USE_THREAD_DB if (using_threads) return; using_threads = thread_db_init (); #endif } regards Ramana