[0/17] RFC: share minimal symbols across objfiles

Joel Brobecker brobecker@adacore.com
Sun Dec 18 06:40:00 GMT 2011


> The other major problem with this patch is that it makes it clear how
> the BFD cache is fundamentally confused.
[...]
> In sum, it is a mess and I am not sure what to do about it.  Mapping all
> the needed debug sections is possible, but slow, and in the
> multi-inferior case that seems to be a recipe for running out of memory.
> (But we can run out of memory anyway and probably need some approach for
> fixing this...)

I don't see a way out of this without involving BFD. If we could
register for notifications for a given bfd, I think it would allow
us to stay informed of what BFD has, so far, been doing behind
the scene...

-- 
Joel



More information about the Gdb-patches mailing list