Problem with multiple threads using gdbserver on x86.

Ramana Radhakrishnan ramana.radhakrishnan@codito.com
Mon Jun 23 16:30:00 GMT 2003


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



More information about the Gdb mailing list