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]

gdbserver Linux_low.c


 
Hi 
 
In gdbserver source file Linux_low.c look at the following data structure 
 
static struct target_ops linux_target_ops = {
  linux_create_inferior,
  linux_attach,
  linux_kill,
  linux_thread_alive,
  linux_resume,
  linux_wait,
  linux_fetch_registers,
  linux_store_registers,
  linux_read_memory,
  linux_write_memory,
  linux_look_up_symbols,
};
 
the last member linux_look_up_symbols, what this function does ?
 
This is assigned to the following function
 
linux_look_up_symbols (void)
{
#ifdef USE_THREAD_DB
  if (using_threads)
    return;
 
  using_threads = thread_db_init ();
#endif
}
 
Actually where it does any symbol related functionality ?
 
can anybody clarrify these questions ? Thanks in advance
 
Regards
Raja Saleru 
   
 


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