about _dl_debug_state()

Kevin Buettner kevinb@redhat.com
Wed Nov 5 16:11:00 GMT 2003


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



More information about the Gdb mailing list