From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta034.useast.a.cloudfilter.net (omta034.useast.a.cloudfilter.net [44.202.169.33]) by sourceware.org (Postfix) with ESMTPS id 108D7385841C for ; Thu, 18 Jan 2024 20:32:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 108D7385841C 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 108D7385841C Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=44.202.169.33 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705609945; cv=none; b=iPLfdC0WYnuoclvaExs3WHlSLnYzf2aRfCa3ySs98NyA81lBDfl4j/8f0AciIxh5gyCbYeoIij+olOBlBuRv6nNxL8on9cD2nzAArfqwWEcATkd9f+54xZOcRqTkONqqjEGtRb5p0Ha0ODXRVzAb1yKbeJmx9m8JF6SZX0G2oJg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705609945; c=relaxed/simple; bh=U/vR3RFgLAsxvPDe8+rdqA/7azZmgY6LoJp4r9PbbPE=; h=DKIM-Signature:From:Date:Subject:MIME-Version:Message-Id:To; b=Lycb/nzz0jgwjJnyF2F+zVePgH5jVOqStbOUkkdBKMhSMziyUip71jYjVFX/yWU/lYFPCGB1ZRhX3cmpja3kjqzBBKcLqDmsCXSxdd7sTpbu5HkcWwNmI5vNeEK1BONh3Px+GtN5bjyCfH8w/blvcda7Qh9qyRMUpy8nWqTX0bQ= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from eig-obgw-5001a.ext.cloudfilter.net ([10.0.29.139]) by cmsmtp with ESMTPS id QWAgr6g0fAxAkQZ3vrR5dh; Thu, 18 Jan 2024 20:32:31 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id QZ3drH2ieRT1bQZ3er8Fdd; Thu, 18 Jan 2024 20:32:14 +0000 X-Authority-Analysis: v=2.4 cv=MKVzJeVl c=1 sm=1 tr=0 ts=65a98ace a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=OWjo9vPv0XrRhIrVQ50Ab3nP57M=:19 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=IkcTkHD0fZMA:10 a=dEuoMetlWLkA:10 a=Qbun_eYptAEA:10 a=1eGJtVPQ-MQg7gw_q08A:9 a=QEXdDO2ut3YA:10 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=To:In-Reply-To:References:Message-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:Subject:Date:From:Sender:Reply-To:Cc: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=ijwFGFLWuIuGaw/dsE/CpHOYkL79oRjGyZTxQTtPkro=; b=PxYuLi50XRxEG3ZNfHEe+gS14t 3ac2HL7Hre3V1zgVCzWQc74BhzlquxmNmAVWxlp+YZr0fsUSV5XYkoAsGjYH2SEVvfknj6rJMWrXs s4DCHQ0BNQZ0XFXC1Q5AB8S/S; Received: from 97-122-68-157.hlrn.qwest.net ([97.122.68.157]:50746 helo=[192.168.0.21]) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1rQZ3d-002DCj-1b for gdb-patches@sourceware.org; Thu, 18 Jan 2024 13:32:13 -0700 From: Tom Tromey Date: Thu, 18 Jan 2024 13:32:22 -0700 Subject: [PATCH v2 24/30] Only look for functions in expand_symtabs_for_function MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240118-submit-domain-hacks-2-v2-24-aecab29fa104@tromey.com> References: <20240118-submit-domain-hacks-2-v2-0-aecab29fa104@tromey.com> In-Reply-To: <20240118-submit-domain-hacks-2-v2-0-aecab29fa104@tromey.com> To: gdb-patches@sourceware.org X-Mailer: b4 0.12.4 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.68.157 X-Source-L: No X-Exim-ID: 1rQZ3d-002DCj-1b X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-122-68-157.hlrn.qwest.net ([192.168.0.21]) [97.122.68.157]:50746 X-Source-Auth: tom+tromey.com X-Email-Count: 26 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfEImbup/rEPcrm/c5YR1rdclawfQubXCAAP+mdODQ7P3nFyw33u0HsPcVo0eHYpt62/LLNZlXGzEGBI566VGQVDqfZSIPiTnKBT1p6GuCqlPQKJpGj72 OFecHFHuMu/6KBacbmY2sQG+WeH5f8DczrIefWzaMovxAlCFt/cJEA5EaWWK47T3a6yZmKVlqcZNXMXZKdQzyUrWGQBDIJyMp8M= X-Spam-Status: No, score=-3022.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,GIT_PATCH_0,JMQ_SPF_NEUTRAL,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: This changes expand_symtabs_for_function to only look in the function domain. --- gdb/symfile-debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/symfile-debug.c b/gdb/symfile-debug.c index 30b02531b9c..96cdfeeb7ed 100644 --- a/gdb/symfile-debug.c +++ b/gdb/symfile-debug.c @@ -342,7 +342,7 @@ objfile::expand_symtabs_for_function (const char *func_name) nullptr, (SEARCH_GLOBAL_BLOCK | SEARCH_STATIC_BLOCK), - SEARCH_VFT); + SEARCH_FUNCTION_DOMAIN); } void -- 2.43.0