From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id noO4EhBpEWeDRhEAWB0awg (envelope-from ) for ; Thu, 17 Oct 2024 15:44:16 -0400 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=eQI+Nhyz; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 248101E35F; Thu, 17 Oct 2024 15:44:16 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-6.5 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_INVALID,DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, URIBL_BLOCKED,URIBL_DBL_BLOCKED_OPENDNS autolearn=ham autolearn_force=no version=4.0.0 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 A52D01E05C for ; Thu, 17 Oct 2024 15:44:15 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4B1293858C48 for ; Thu, 17 Oct 2024 19:44:15 +0000 (GMT) Received: from omta34.uswest2.a.cloudfilter.net (omta34.uswest2.a.cloudfilter.net [35.89.44.33]) by sourceware.org (Postfix) with ESMTPS id 6EA4E3858D37 for ; Thu, 17 Oct 2024 19:43:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6EA4E3858D37 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 6EA4E3858D37 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=35.89.44.33 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1729194237; cv=none; b=UqV1Y0LjWDKr8S3wtIH31Hqu5USU3sxdA6atgjgoRsviSsmPqypn/jaiabJ64elRjWMS/yB9pGuAvSbKZB9BfLImMB6qYehEP1c7nBkvhh97lUYmLZyQAHoUkrfJdG2lSBBg5kLRGVKDOxq+QlizLsRC2MFdSYzzl8ik1KgJewE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1729194237; c=relaxed/simple; bh=FuhF/dW5Jal1hhM3hyklmc7mnyvPMqoKlcraKSu6eUc=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=jh5Um11G2JB8BHh6vYSXZ3x3+9OOQ58200ccUdIT12GgS0Z0h1AeEW0pvE3ajPZm+7Dfmv+L0Tv5nNlpD62IGDQ4R3wYM4r3hEe9AU4/g9JAY9JWBBadl+wykMwuh2phum1UNpqKv9i8IiLyJvxYzqOS2uCyEjZVWU/q/hRb3ug= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from eig-obgw-6002a.ext.cloudfilter.net ([10.0.30.222]) by cmsmtp with ESMTPS id 1TXMtBz8mVpzp1WPStJdwm; Thu, 17 Oct 2024 19:43:46 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id 1WPRtRKCC65gF1WPRt70ec; Thu, 17 Oct 2024 19:43:45 +0000 X-Authority-Analysis: v=2.4 cv=Z58nH2RA c=1 sm=1 tr=0 ts=671168f1 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=DAUX931o1VcA:10 a=ItBw4LHWJt0A:10 a=20KFwNOVAAAA:8 a=fJWxxTV9wkuB1SijUMkA:9 a=ZXulRonScM0A:10 a=6Ogn3jAGHLSNbaov7Orx: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:Date:References:In-Reply-To :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=sTpSFNofGlgzXGIAhI0mvauSoo9gR86gqH8GvOdXZsY=; b=eQI+NhyzYOF3x3j6brD5hSNlgk UgIrWlebID1T+ED9bLvwsMGedMJwOoG5tIVakxu5eQ58s873jF3s96wKAglikYzHpdrGXMIZDTD2K JTTWl6gr6tLqZRFEUBcgbLu5/; Received: from 97-122-113-155.hlrn.qwest.net ([97.122.113.155]:55886 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 1t1WPQ-0032Dd-2k; Thu, 17 Oct 2024 13:43:44 -0600 From: Tom Tromey To: Andrew Burgess Cc: Guinevere Larsen , gdb-patches@sourceware.org Subject: Re: [PATCH] gdb, configure: Add disable-formats option for configure In-Reply-To: <87h69c1fuh.fsf@redhat.com> (Andrew Burgess's message of "Wed, 16 Oct 2024 11:50:46 +0100") References: <20240925175340.1850969-1-guinevere@redhat.com> <878qv3ylcf.fsf@redhat.com> <69c6f0f0-d8b5-4b69-8779-0bcbc3178324@redhat.com> <87h69c1fuh.fsf@redhat.com> X-Attribution: Tom Date: Thu, 17 Oct 2024 13:43:43 -0600 Message-ID: <87frouecr4.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) 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.113.155 X-Source-L: No X-Exim-ID: 1t1WPQ-0032Dd-2k X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-122-113-155.hlrn.qwest.net (murgatroyd) [97.122.113.155]:55886 X-Source-Auth: tom+tromey.com X-Email-Count: 21 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfEWWJjCi/y34yrbNmAPV4tLP3cm4ObR8HRLAdcG2xBVqTiWG3UmD+gG5Bwnrpvibh98OLEiRu9CRLL1O9TWrbMCJoNW/7Afy1BCP4qQEmq7KW5QMR0XM GUHso+KR7jOCKCNDaueu3NR3qKqfgVnaHBb8QIQ804DhSrVFsccvHbYxbcXAH2CHBFBt0Rx/Y74smwqBEvLFI0+FZKiEfDAn+GM= 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> While it is true that this change allows GDB to handle an objfile that Andrew> is can't otherwise understand, I wonder, how useful is it to even keep Andrew> the objfile around at all? IMO not very. What contribution could it really make? Andrew> +struct scoped_objfile_remover Andrew> +{ If it's at all possible it might be nice to clean up objfile creation and registration. That is, it seems gross that creation registers the objfile, as opposed to there being two steps: create and populate it, and only then transfer ownership to the pspace. I understand in advance if that's not practical. Tom