How does solib handline shared library unloads?

Christopher Faylor me@cgf.cx
Tue Nov 1 05:39:00 GMT 2005


Can anyone enlighten me as to how information about a library is
relinquished when a library loaded via dlopen is unloaded via dlclose?
Theoretically, the information about the library should be removed and
the library should not be listed by "info sharedlibrary".

I don't see any way for this to be handled in solib.c and inf*.c but I'm
sure I'm just missing something obvious.  I haven't written a test case
yet to see how it is being handled but I was hoping someone could
clarify this for me.

cgf



More information about the Gdb mailing list