Problem with multiple threads using gdbserver on x86.

Daniel Jacobowitz drow@mvista.com
Mon Jun 23 16:25:00 GMT 2003


On Mon, Jun 23, 2003 at 09:56:01PM +0530, Ramana Radhakrishnan wrote:
> hi all,
> 
> this is with respect to my previous post. i would rather like to
> rephrase my question. 
> 
> since symbol lookups are not necessarily a functionality of gdbserver
> (infact gdbserver would very well work with a stripped down version of
> the final executable) why is it that the target_ops structure has a
> member named look_up_symbols ? or am i missing something very very basic
> over here. ?and the linux implementation seems to capture information
> regarding threads in linux_low.c
> 
> or is it one of the cases of the implementation not being related to the
> intuitive sense one tries to make out of the name of the interface. ?

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.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gdb mailing list