From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6542 invoked by alias); 17 Jun 2003 02:08: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 6293 invoked from network); 17 Jun 2003 02:08:25 -0000 Received: from unknown (HELO smtp8.access.co.jp) (157.78.36.253) by sources.redhat.com with SMTP; 17 Jun 2003 02:08:25 -0000 Received: (qmail 15644 invoked from network); 17 Jun 2003 11:08:23 +0900 Received: from unknown (HELO smtp5.access.co.jp) (157.78.36.243) by 0 with SMTP; 17 Jun 2003 11:08:23 +0900 Received: (qmail 4208 invoked by alias); 17 Jun 2003 11:08:23 +0900 Received: (qmail 4173 invoked from network); 17 Jun 2003 11:08:23 +0900 Received: from unknown (HELO ADMIN) (157.78.69.163) by 0 with SMTP; 17 Jun 2003 11:08:23 +0900 From: "Raja Saleru" To: "Daniel Jacobowitz" , "saleru raja" Cc: Subject: RE: qSymbol Date: Tue, 17 Jun 2003 02:08:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal In-Reply-To: <20030616125018.GA16251@nevyn.them.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-SW-Source: 2003-06/txt/msg00329.txt.bz2 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 ? Regards Raja S -----Original Message----- From: gdb-owner@sources.redhat.com [mailto:gdb-owner@sources.redhat.com]On Behalf Of Daniel Jacobowitz Sent: Monday, June 16, 2003 9:50 PM To: saleru raja Cc: gdb@sources.redhat.com Subject: Re: qSymbol On Sun, Jun 15, 2003 at 11:16:24PM -0500, saleru raja wrote: > Yes, I got it in manual. Thanks for the same. > In GDB Server, I think currently return only "OK". > > Does any implementation of qSymbol in GDB Server to send the values of sybols to host side gdb ? > If not, how we can implement the same ? any example or algorithmic way of representing what needs to be implement ? Other way around, friend. Values of symbols are sent _to_ gdbserver. See linux_look_up_symbols. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer