This is the mail archive of the gdb@sources.redhat.com 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]

very very slow symbol searches


Anyone have any idea why search_symbols in symtab.c is now a few
thousand times slower than it used to be?  At least it is on Linux x86.

Insight calls search_symbols twice on startup.  Sometime 2-4 weeks ago,
(builds from CVS on sources) Insight started taking a minute or two to
load when debugging itself.  It is very fast when debugging small
programs, but large things like insight or gdb take forever.  At first
glance the problem is that search_symbols() is taking 20-30 seconds to
return.

Everything is fine on Windows which starts up much faster than Linux,
even before this latest slowness.

Martin





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