question about expand_symtabs_matching()

"Hannes Domani via gdb" <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.