+ /* It's important to not call expand_symtabs_matching unnecessarily
+ as it can really slow things down (by unnecessarily expanding
+ potentially 1000s of symtabs). If we know we only want classes,
+ we'd like to skip symtabs where NAME isn't a class. However,
+ NAME could be a class in some symtabs and a namespace in others,
+ and we can't tell which until we expand the symtab! Ugh!
+ What we need is for "quick" symbols (partial syms and .gdb_index)
+ to at least record whether a symbol is a class. Until then, there's
+ not much we can do. One thing we can do is watch for "(anonymous
+ namespace)" which is actually significant enough to warrant it.
+ That will at least handle "b [foo::](anonymous namespace)::bar".
+ In some apps this can speed up the time to set the breakpoint from
+ 100s of seconds to a few seconds. */