This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
RE: qSymbol
- From: "Raja Saleru" <iap_sraja at access dot co dot jp>
- To: "Daniel Jacobowitz" <drow at mvista dot com>, "saleru raja" <saleru_raja at email dot com>
- Cc: <gdb at sources dot redhat dot com>
- Date: Mon, 17 Jun 2002 11:08:21 +0900
- Subject: RE: qSymbol
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