This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Re: A revised patch for dlclose
- To: Jim Kingdon <kingdon at redhat dot com>
- Subject: Re: A revised patch for dlclose
- From: Jim Blandy <jimb at zwingli dot cygnus dot com>
- Date: 08 Mar 2000 17:34:58 -0500
- Cc: toddpw at windriver dot com, hjl at lucon dot org, kettenis at wins dot uva dot nl, gdb-patches at sourceware dot cygnus dot com, gdb at sourceware dot cygnus dot com
- References: <200003080849.AAA18417@alabama.wrs.com><200003081441.JAA02876@devserv.devel.redhat.com>
> > If each DSO was given its own obstack, it would be pretty easy.
>
> This is largely a solved problem (via objfiles).
> [...]
> There are a few loose ends in freeing, but it is the tangled logic in
> find_solib that is tripping us up more than the freeing.
Yes, that's right.
I've pretty much come to the same conclusion as JimK --- I think there
are ways to repartition find_solib's responsibilities that will make
this logic a lot simpler.