This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

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


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


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