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]

Re: about _dl_debug_state()


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


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