This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
gdbserver Linux_low.c
- From: "Raja Saleru" <iap_sraja at access dot co dot jp>
- To: "Gdb Redhat" <gdb at sources dot redhat dot com>
- Date: Mon, 9 Jun 2003 18:55:14 +0900
- Subject: 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