This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with multiple threads using gdbserver on x86.


hi daniel,

> 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.

but the only piece of code within the target specific function seems to
be getting information regarding threads .maybe i am a bit dense but
this really doesnt look like querying symbol specific information from
gdb. 

The following snippet is the code from 

linux_look_up_symbols()
{
#ifdef USE_THREAD_DB
  if (using_threads)
    return;

  using_threads = thread_db_init ();
#endif
}

regards
Ramana


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]