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: [patch 2/2] Accelerate lookup_symbol_aux_objfile 8x


On Wed, 22 Oct 2014 11:40:18 +0200, Doug Evans wrote:
> When I think of primary and non-primary symtabs I think of .c/.cc
> (primary) and .h (non-primary).
> Now we've got "secondary" dwz-created symtabs.

dwz-created symtabs are primary, they can contain symbols (although that
happens rarely).


> Therefore while this patch avoids searching dwz secondary symtabs
> multiple times, we will now search symtabs for headers whereas before
> we wouldn't (and thus search symtabs for .c/.cc files an extra time
> for each included header).

Addressed in the new patch sent in the other mail, thanks.


> [Our symbol table data structures and code sucks in so many major ways.
> What'd I'd like to see happen is some deeper changes, and have some
> planned when I get the time, but I'm not going to impose that on this
> patch set. :-)]

There are many possible improvements of GDB as usual.  Just I find this
patchset already done and providing in fact good-enough-for-me acceleration.


Jan


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