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] Add global/static and symbol kind indicator to .gdb_index


>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:

Doug> The global/static bit massively speeds up looking up things like
Doug> "int" when debugging with lots of shared libraries (all having
Doug> .gdb_index).  PR 14125

Tom> I don't think this patch is needed to achieve this.  At least, the "int"
Tom> case and other similar cases were fixed by:

Doug pointed out on irc that I was mistaken here.
The issue in his case is that, even though each individual index has a
single entry for "int", there are still many indices, so gdb still does
excessive CU expansion.
I'm sorry for the error.

Tom> I think it is ok.

At least this part still seems correct ;-)

Tom


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