[RFC][patch] Avoid repeated calls to solib_add on initial attach.

Pedro Alves pedro@codesourcery.com
Wed Jul 20 18:38:00 GMT 2011


On Wednesday 20 July 2011 17:35:12, Pedro Alves wrote:
> > Fixing all inferior hook methods to be consistent and always load
> > initial DSO list sounds promising, but has the practical problem: I don't
> > have access to many systems.  I'll check what I can do there ...
> 
> I'm not certain of the amount of work here.  I'm okay with
> your approach as fallback (you should make the counter
> unsigned to avoid undefined signed overflow).

(Meant to say before but forgot... the DSO list is per
program space, not inferior -- you should move the
counter to struct program_space)

-- 
Pedro Alves



More information about the Gdb-patches mailing list