From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 1FuPIL2z9WZPQjgAWB0awg (envelope-from ) for ; Thu, 26 Sep 2024 15:19:25 -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=j2NnGm9p; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 4F9B41E353; Thu, 26 Sep 2024 15:19:25 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-8.8 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_INVALID,DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, 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 E342D1E05C for ; Thu, 26 Sep 2024 15:19:23 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 438A63858402 for ; Thu, 26 Sep 2024 19:19:23 +0000 (GMT) Received: from omta38.uswest2.a.cloudfilter.net (omta38.uswest2.a.cloudfilter.net [35.89.44.37]) by sourceware.org (Postfix) with ESMTPS id BF9233858D29 for ; Thu, 26 Sep 2024 19:19:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BF9233858D29 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 BF9233858D29 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=35.89.44.37 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1727378343; cv=none; b=VDc1i8TqPjvlixvr74DgQNZKJ5hmfpkZlvV4CBwqauNzC8vxerZOBVGYBrOnuzsaXZg4Dz/q7jqNmwsFJf36uf+gyzSlg+HHTEv7lh/VCHWKBG8TBMQGdzFXn7eNFpVkwvTaC0VwkRutl1egEVgH74Vx7mLYvU8b63vlJ0rpL5k= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1727378343; c=relaxed/simple; bh=MD7dkM3M8+CawrgtmPpx6H9/Z6zazaJgGhWxcwpihv0=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=UyLDiBBUniWHIxqBi9MHVvXf8+4Igz8scaRRv/YXkqUrBTKCJnIJzDwW3OCyxwhbr/H50h213nFWZImRsHqY+yyw6tNLfxaLlKzxbztgu9vfL/buB5F1lrvf1CTL/HPRw2lqoagZB8ObeKBPhUg2wbSwXouTF58NE2uLOmMmisg= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from eig-obgw-5003a.ext.cloudfilter.net ([10.0.29.159]) by cmsmtp with ESMTPS id th7ysBTwMumtXtu0ysE2bs; Thu, 26 Sep 2024 19:19:00 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id tu0xszC1E827ntu0xst7ds; Thu, 26 Sep 2024 19:18:59 +0000 X-Authority-Analysis: v=2.4 cv=GeTcnhXL c=1 sm=1 tr=0 ts=66f5b3a3 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=EaEq8P2WXUwA:10 a=ItBw4LHWJt0A:10 a=20KFwNOVAAAA:8 a=7Rg7_P13yWvtrYGj8eIA:9 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=EzEFxrjX8eqfQpKgttUd7Hw7yzP/C8QPgC/IjCqU4t0=; b=j2NnGm9paFQNZZE4kHFzyx8Tdw DwfXfbfNbg3NTrcqdw+BZ2HsQ4FXAzl61j/lTIzbRtR61FzFaQfbCSWkReWklyfo42dUuA2Y4eiII VzfOcdW0b1Mt070NZGgJ+nHXl; Received: from 97-118-34-56.hlrn.qwest.net ([97.118.34.56]:48020 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 1stu0w-003AvA-2s; Thu, 26 Sep 2024 13:18:58 -0600 From: Tom Tromey To: Guinevere Larsen Cc: gdb-patches@sourceware.org Subject: Re: [PATCH] gdb, configure: Add disable-formats option for configure In-Reply-To: <20240925175340.1850969-1-guinevere@redhat.com> (Guinevere Larsen's message of "Wed, 25 Sep 2024 14:53:40 -0300") References: <20240925175340.1850969-1-guinevere@redhat.com> X-Attribution: Tom Date: Thu, 26 Sep 2024 13:18:58 -0600 Message-ID: <87ldzei5p9.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.118.34.56 X-Source-L: No X-Exim-ID: 1stu0w-003AvA-2s X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-118-34-56.hlrn.qwest.net (murgatroyd) [97.118.34.56]:48020 X-Source-Auth: tom+tromey.com X-Email-Count: 2 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfGargwLkN/5XojIvm6B0d9BHnE+VzKGMvnSscKrKxC4an97D0TzldCdwGqFtHTvls/GdFFFNyzmq27w7uSvI9ThNwBMi+y1Ocd2fRqAuRHD4ajFoyD0I hXyLCDSuEWz71CPqsBsxIO8N7BQ8y/JMJq1Eu/aZZeDeKjUReS46QnExnvEWS94ev+v4FBQnwcwYjYMUy7aYsM3KxOVr5bJa1LY= 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 >>>>> Guinevere Larsen writes: > Ideally we'd like to be able to disable even those formats, in case a > user wants to build GDB only to examine remote files for example, but > the current infrastructure for the file format readers doesn't allow > us to do it. The goal seems totally fine to me. > +enable-formats=[FORMAT,]... I think this option name is too generic. > +# If all targets were requested, this is all formats that should accompany > +# them. > +all_target_formats="elf xcoff mips coff" I think it would be nicer if the full list only had to be written in one spot. Right now it seems like it's both here and in the makefile? viz: +# All files that relate to GDB's ability to read debug information. +# Used with --enable-formats=all. +ALL_FORMAT_OBS = \ I'd written some more stuff here about maybe just following BFD's lead. But looking at my "minimal" build tree, I see a native Linux gdb seems to have COFF and other junk in BFD, so following BFD doesn't seem really possible. Tom