How does solib handline shared library unloads?

Daniel Jacobowitz drow@false.org
Tue Nov 1 16:24:00 GMT 2005


On Tue, Nov 01, 2005 at 11:20:25AM -0500, Christopher Faylor wrote:
> Cygwin sets TARGET_WAITKIND_LOADED when a DLL is loaded but I don't see
> any corresponding TARGET_WAITKIND_UNLOADED.  It doesn't look like
> TARGET_WAITKIND_LOADED calls solib_add, though.

Yes: those are (were) just used for catch, not for actual shared
library list management.  This is bogus; that's the part that ought to
be fixed in core GDB.

-- 
Daniel Jacobowitz
CodeSourcery, LLC



More information about the Gdb mailing list