From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id Q9p5K1xiUWXd/gQAWB0awg (envelope-from ) for ; Sun, 12 Nov 2023 18:40:12 -0500 Authentication-Results: simark.ca; dkim=fail reason="signature verification failed" (768-bit key; unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=G2Zv4Y+M; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id ABCAB1E0C1; Sun, 12 Nov 2023 18:40:12 -0500 (EST) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 9B3201E00F for ; Sun, 12 Nov 2023 18:40:10 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 198773858421 for ; Sun, 12 Nov 2023 23:40:10 +0000 (GMT) Received: from omta40.uswest2.a.cloudfilter.net (omta40.uswest2.a.cloudfilter.net [35.89.44.39]) by sourceware.org (Postfix) with ESMTPS id 9D24D3858D20 for ; Sun, 12 Nov 2023 23:39:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9D24D3858D20 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 9D24D3858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=35.89.44.39 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699832399; cv=none; b=K/hHZFHUWGcf4JmwyuU5tSw7WXbEGGWluOuqHz6z7pZ88v61pGCKBikqUcpCySMeYIAkI5aKzj1fApr8Uhrd1rNm09zpEbSj15YoU7SjXcakMuSd9ubCRvZIHb0AoprTXGiRbyv2vIHJgqWEypiIoJPifVkSiMjaMg71Lr7OaLY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699832399; c=relaxed/simple; bh=UvEFsWRbpgY4OjbPdxzCR5RUhy0fyTasRTQGitW0nT0=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=wam0hcQ7klKa5pMY3WMUFD91T/OLIh9ARamwRNQyJRY809V/YDlrLXcJxZLGLR9AXtrgZFSt5TBbJAo0MpKY9BTLWWhbwI4rtv6BV8wnqb4eWnOv4qbuUOemArphdhlsARaHEIu/pezZu/GKZlqhSypkGGh1D4H7h4UEFrn94J8= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from eig-obgw-5010a.ext.cloudfilter.net ([10.0.29.199]) by cmsmtp with ESMTPS id 28CBrtwX9L9Ag2K3YrWXzi; Sun, 12 Nov 2023 23:39:56 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id 2K3XrXSZXhDny2K3YrgWaX; Sun, 12 Nov 2023 23:39:56 +0000 X-Authority-Analysis: v=2.4 cv=fda+dmcF c=1 sm=1 tr=0 ts=6551624c a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=OWjo9vPv0XrRhIrVQ50Ab3nP57M=:19 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=BNY50KLci1gA:10 a=Qbun_eYptAEA:10 a=20KFwNOVAAAA:8 a=zstS-IiYAAAA:8 a=U0No5hf7Etkoha_kEWoA:9 a=4G6NA9xxw8l3yy4pmD5M: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=Zpy24JFrpe2C29hok8EqlfndBPgr77xVDs/ddL8dzzw=; b=G2Zv4Y+MRUiUxW82AktoweKOw5 4l7EEvoTjFeJ7K2CK8tF0WQUzKsoWPUgJAY/BeXKOv/J8aI0cSIANRKqITGFz67zgU2O9ARo4Z54m F/YPyYcDF6/iLqIw3cVPB9/Ri; Received: from 97-122-77-73.hlrn.qwest.net ([97.122.77.73]:45132 helo=prentzel) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1r2K3X-002hfA-1i; Sun, 12 Nov 2023 16:39:55 -0700 From: Tom Tromey To: Andrew Burgess Cc: gdb-patches@sourceware.org, Lancelot SIX , Tom Tromey Subject: Re: [PATCH 0/2] BFD cache management And Exec file with target: prefix References: X-Attribution: Tom Date: Sun, 12 Nov 2023 16:40:14 -0700 In-Reply-To: (Andrew Burgess's message of "Mon, 30 Oct 2023 13:41:21 +0000") Message-ID: <87wmumzgkh.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: 1r2K3X-002hfA-1i X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-122-77-73.hlrn.qwest.net (prentzel) [97.122.77.73]:45132 X-Source-Auth: tom+tromey.com X-Email-Count: 4 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfNPenS7lZiuOoxUpG1wYnPE9lIUX0jqDayJMoQDb5/ki3ZMLy/ag+rxUtM54PVvjh86bByWdUMN2nG4EIw+WJ4cEA4n1Z+NL3uQteR5xwH/y25nS/6Hy qHCkjsv/ikdsc/bZcnRaxESBJlCrSflmiElqlkpFepBCYTdD3JwIQnSJDWHbVfuF+Tsvf2FX2db1b0Vw24PCV+6gWQ/AjZYRaxw= X-Spam-Status: No, score=-3018.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, JMQ_SPF_NEUTRAL, 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 X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org >>>>> "Andrew" == Andrew Burgess writes: Andrew> This started with patch #2, which improves GDB's handling of the main Andrew> executable having a target: prefix, but that ran into an issue with Andrew> the bfd cache. Andrew> So patch #1 aims to address this cache issue. Andrew> Changes in V2: Andrew> - No longer using observers to call bfd_cache_close_all() (see V1 Andrew> discussion for reasons), instead I'm calling directly from core Andrew> GDB after the before_prompt and target_resumed observers have been Andrew> notified. This looks good to me. Approved-By: Tom Tromey Tom