From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31152 invoked by alias); 17 Jun 2003 02:18:17 -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 31062 invoked from network); 17 Jun 2003 02:18:15 -0000 Received: from unknown (HELO crack.them.org) (146.82.138.56) by sources.redhat.com with SMTP; 17 Jun 2003 02:18:15 -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 19S63c-00049M-00; Mon, 16 Jun 2003 21:18:48 -0500 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 19S62m-0005nI-00; Mon, 16 Jun 2003 22:17:56 -0400 Date: Tue, 17 Jun 2003 02:18:00 -0000 From: Daniel Jacobowitz To: Raja Saleru Cc: saleru raja , gdb@sources.redhat.com Subject: Re: qSymbol Message-ID: <20030617021756.GA22254@nevyn.them.org> Mail-Followup-To: Raja Saleru , saleru raja , gdb@sources.redhat.com References: <20030616125018.GA16251@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-SW-Source: 2003-06/txt/msg00330.txt.bz2 On Mon, Jun 17, 2002 at 11:08:21AM +0900, Raja Saleru wrote: For the fourth time, please fix the year on your computer if you wish to continue this conversation. Having your mail sort to the stop is very annoying. > Hello Sir, the following is the function definition, > > static void > linux_look_up_symbols (void) > { > #ifdef USE_THREAD_DB > if (using_threads) > return; > > using_threads = thread_db_init (); > #endif > } > > assume that I am interested in only process debugging, but not thread > debugging, > so I am not defining USE_THREAD_DB macro. > > I am getting confuse... why target sending symbols to host (gdb ) ? > > If I compile the application at host side as re-locatable and relink it at > target side, the sybols are there at host side only. > the corresponding values at target side. This is what I thought.. what will > be solution in this case ? > can you carrify me more in details ? qSymbol is a mechanism _for the target_ to ask the _host_ about the address of a symbol. You appear to have the opposite problem, so you will need something different. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer