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: [RFA] massively speed up "info var foo" on large programs


On 06/04/2012 05:06 AM, Doug Evans wrote:

> GDB's symbol support is a mess (IMO), and I wanted
> a name and usage to restrict it to the task at hand.  Anything more
> general and I was pretty sure this patch would get bogged down.


That'd be a bit beyond what I requested.  ;-)

> Later on I want to revamp the symbol API, but I don't want this patch
> tied down by that.


Certainly.  That'd clearly need to be a separate change.

> (For example, I don't want to bubble up the semantics of
> demangle_for_lookup to the caller of this function.   Here we have an
> msymbol, we know we have a mangled name.  If you want, I can go with
> lookup_symbol_in_objfile but rename it to
> lookup_symbol_in_objfile_from_linkage_name or some such.)


That'd be fine with me.  Thanks.

-- 
Pedro Alves


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