gdbserver Linux_low.c

Raja Saleru iap_sraja@access.co.jp
Mon Jun 9 09:55:00 GMT 2003


 
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 
   
 



More information about the Gdb mailing list