A revised patch for dlclose

Todd Whitesel toddpw@windriver.com
Wed Mar 8 00:49:00 GMT 2000


> I am looking at the code. We can tell when a DSO is unloaded. The
> problem is how we update so_list_head and the loaded symbols. It
> looks very messy to me. I don't know how hard to release only one
> DSO and all memeries it uses.

If each DSO was given its own obstack, it would be pretty easy.

That is how the {p,}symtab memory management works already, and
I can testify that it does a pretty good job on vxWorks targets.

-- 
Todd Whitesel
toddpw @ windriver.com


More information about the Gdb mailing list