This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/commit/dwarf] Create partial symbols for nested subprograms
>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:
Tom> FWIW I don't think Joel's patch will negatively affect my current
Tom> approach.
Joel> Just curious, I think I either forgot a previous discussion or missed
Joel> it entirely.
It is on the archer list.
Joel> What approach are you going to take?
My patch defers reading partial symbol tables until they are needed.
This is done on a per-objfile basis, so some user requests can be
satisfied without reading all the psymbols for the inferior.
FWIW, initial results are pretty good. Attach time drops from 1
minute to 20 seconds, and memory use after attach drops 35% (I
expected more -- I'm curious to know where all the memory goes).
Operations like "bt" still seem responsive.
There are still a couple FIXMEs to sort out. And, I am not completely
sure that I've found all the spots where a call to
require_partial_symbols is needed.
Tom