From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta036.useast.a.cloudfilter.net (omta036.useast.a.cloudfilter.net [44.202.169.35]) by sourceware.org (Postfix) with ESMTPS id 777F43858D1E for ; Wed, 1 Nov 2023 17:51:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 777F43858D1E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 777F43858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=44.202.169.35 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698861076; cv=none; b=aD2hA/YKAZHK+/8eIWp8BXJQvfPu3gZJxV9Df6OKduHyE+HfJ2kqDeSxMzIHcfY2ebY0YW1p0l3NWJXp0LQx3c5LQFJTR/mZg1ma03Mc3uE4QAq4ez17kkPf0NYwekN/qQq8yRVBREQFrhcYPTRh68z5N+RgOpCpT4eX4KBSHCM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698861076; c=relaxed/simple; bh=k5Vus9ddxwanehqq9b9Ghm0vfQ75HTc7/6QQ1xpvNZc=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=rrlnNRiDVQwwzt/UyQ++mkRvNyyCGcIbgRrKR+659ZC45CMJHdqywkowk63yo7xVtv6cCyz2b+TldHJjCqJNZA4YOBIrUS30gQ3goB7b54u0ebNDaVEEWyZ0qjwFihrq7g4q0gxhln2iXYGyYDxZ+t1/1uwKzmDdy7FRLB/2xeE= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from eig-obgw-5008a.ext.cloudfilter.net ([10.0.29.246]) by cmsmtp with ESMTPS id yBlMqtlBDgpyEyFMvqg3eq; Wed, 01 Nov 2023 17:51:05 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id yFMuqe1SfpPpmyFMvqCVQU; Wed, 01 Nov 2023 17:51:05 +0000 X-Authority-Analysis: v=2.4 cv=MJVzJeVl c=1 sm=1 tr=0 ts=65429009 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=OWjo9vPv0XrRhIrVQ50Ab3nP57M=:19 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=5GTQWnfxQyi8a9uf:21 a=BNY50KLci1gA:10 a=Qbun_eYptAEA:10 a=CCpqsmhAAAAA:8 a=vq_XHiPAetVkVWufOo8A:9 a=ul9cdbp4aOFLsgKbc677:22 a=e78j1R5tVTzcXxiiL6ve:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References :Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=k5Vus9ddxwanehqq9b9Ghm0vfQ75HTc7/6QQ1xpvNZc=; b=WkCkLO4QmF4uh/biIdbQXkdOWr Z87yE18VGcaZP98re5n7BylKEKcIhjtW19G/CR1O2eVZGt/xjth/x0jfSKD8q3gwqSUEyblzSWyXH QBq/ZFqqMPZSq4RcA6gIXPM7q; Received: from 97-122-77-73.hlrn.qwest.net ([97.122.77.73]:42926 helo=murgatroyd) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1qyFMu-000v5y-0w; Wed, 01 Nov 2023 11:51:04 -0600 From: Tom Tromey To: Dmitry Neverov via Gdb Cc: Tom Tromey , Dmitry Neverov Subject: Re: Index files are not used in the session where they were created References: <87351ak5kt.fsf@tromey.com> X-Attribution: Tom Date: Wed, 01 Nov 2023 11:51:03 -0600 In-Reply-To: (Dmitry Neverov via Gdb's message of "Wed, 25 Oct 2023 17:59:51 +0200") Message-ID: <87h6m5jraw.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 97.122.77.73 X-Source-L: No X-Exim-ID: 1qyFMu-000v5y-0w X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-122-77-73.hlrn.qwest.net (murgatroyd) [97.122.77.73]:42926 X-Source-Auth: tom+tromey.com X-Email-Count: 1 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfGDQss0pq4CgAHJDAYYHp+mdwc7iXQPPiTt5MpQFXvAOJt5w6AglAZpGqO3mlRk4dIJSf22HKtbfCvdI48ZEsuanSzAQAFbq3Xz/fW7ipUzvN/X/n5PQ AktV39C8NPTyLqPyOnROzKwq/G4pvUl4ukmUXzksEtb/7DZPCbLNurboh89iIPWu1FszYgqHa2czPQ== X-Spam-Status: No, score=-3018.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,JMQ_SPF_NEUTRAL,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: >>>>> "Dmitry" == Dmitry Neverov via Gdb 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' 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