Re: How does solib handline shared library unloads?

Daniel Jacobowitz
2005-11-01T15:12:16Z

On Tue, Nov 01, 2005 at 09:40:32AM -0500, Christopher Faylor wrote:
> On Tue, Nov 01, 2005 at 08:51:42AM -0500, Daniel Jacobowitz wrote:
> >On Tue, Nov 01, 2005 at 08:45:47AM -0500, Christopher Faylor wrote:
> >>Is this handled as part of the so breakpoint stuff? I was trying to
> >>avoid implementing that but I will if I have to.
> >
> >Well, that's how we get to solib_add for svr4 targets; but it should
> >work to get there off an explicit DLL unload event, anyway. I think.
>
> Yeah, that's what I did but I think that the more I make the windows
> target work like linux, the less chance there will be that it will get
> out of sync with ongoing development.
>
> So, I might eventually just try to make this work more like linux.

Well, there's other targets which provide explicit unload notification
(HP/UX; perhaps Symbian someday)...

--
Daniel Jacobowitz
CodeSourcery, LLC