question about expand_symtabs_matching()
Hannes Domani via gdb
gdb@sourceware.org
Wed Feb 27 20:02:00 GMT 2019
Hello
This is probably a stupid question.
In gdb/linespec.c:1146 is this call:
if (objfile->sf)
objfile->sf->qf->expand_symtabs_matching (objfile,
NULL,
lookup_name,
NULL, NULL,
search_domain);
What exactly is this call doing, since none of the 3 callback functions is used?
This is slowing gdb down quite a lot if you have pending breakpoints, and are
loading/unloading many shared libraries.
When I removed it, I couldn't see any different behavior (other than being faster).
I'm on Windows, specifically x86_64-w64-mingw32.
Regards
Hannes Domani
More information about the Gdb
mailing list