This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: about _dl_debug_state()
- From: Kevin Buettner <kevinb at redhat dot com>
- To: ankit thukral <ankit_plug at yahoo dot com>, gdb at sources dot redhat dot com
- Date: Wed, 5 Nov 2003 09:11:03 -0700
- Subject: Re: about _dl_debug_state()
- References: <20031105113117.69002.qmail@web60104.mail.yahoo.com>
On Nov 5, 3:31am, ankit thukral wrote:
> this is regarding the function called
> _dl_debug_state() which is in the library ld-2.x.so.i
> can't figure out why is this function needed and why
> is a (internal) breakpoint put at this function.
> apparently , this function is just a stub.but i can't
> figure out the need for it.
The dynamic loader will call this function when a shared library
has been loaded or unloaded. A debugger may place a breakpoint on
this function to know when it should refresh its list of loaded
shared libraries.
Kevin