This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Problem with multiple threads using gdbserver on x86.
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