very very slow symbol searches
Elena Zannoni
ezannoni@redhat.com
Wed Jan 22 15:02:00 GMT 2003
Martin M. Hunt writes:
> 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.
there have been some changes to that function on 12-23. Could you try
backing those out? This was a change we convinced ourselves it was ok
to do, but maybe it is problematic.
Another change was to find_pc_sect_line, not sure if that would have
an impact.
Elena
>
> Everything is fine on Windows which starts up much faster than Linux,
> even before this latest slowness.
>
> Martin
>
>
>
More information about the Gdb
mailing list