This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: A revised patch for dlclose


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]