Re: How does solib handline shared library unloads?

Daniel Jacobowitz
2005-11-01T16:24:45Z

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