Re: Index files are not used in the session where they were created

Tom Tromey <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
>>>>> "Dmitry" == Dmitry Neverov via Gdb <[email protected]> writes:

Dmitry> Please ignore my previous message regarding an empty
Dmitry> qf_require_partial_symbols(). I think I was wrong and now understand a
Dmitry> bit better where the difference in time comes from.

Thank you for looking into this.

Dmitry> When index is used, the check for templates happens in
Dmitry> dw2_expand_symtabs_matching_symbol(). The name_matcher
Dmitry> (default_symbol_name_matcher) is called before deciding to expand the
Dmitry> symtab. So entries like 'wxObjectDataPtr<wxBitmapBundleImpl>' don't
Dmitry> cause expansion for lookup name wxObjectDataPtr.

Dmitry> I wonder if it is possible to check templates before symtab expansion in
Dmitry> the no-index case as well?

This sounds related to
https://sourceware.org/bugzilla/show_bug.cgi?id=31010

I think it would be good to have a separate bug for your case though.

I am not sure if it's possible to do this, but I think it would be worth
investigating.

Tom
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.