From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id ZfbZMG8m9GcfkioAWB0awg (envelope-from ) for ; Mon, 07 Apr 2025 15:24:31 -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=trSKlYfG; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id B7BE11E0C3; Mon, 7 Apr 2025 15:24:31 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-5.1 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_INVALID,DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=4.0.1 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 254121E05C for ; Mon, 7 Apr 2025 15:24:29 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A18DC3857400 for ; Mon, 7 Apr 2025 19:24:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A18DC3857400 Authentication-Results: sourceware.org; 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=trSKlYfG Received: from omta038.useast.a.cloudfilter.net (omta038.useast.a.cloudfilter.net [44.202.169.37]) by sourceware.org (Postfix) with ESMTPS id 0BB403858CDA for ; Mon, 7 Apr 2025 19:24:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0BB403858CDA 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 0BB403858CDA Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=44.202.169.37 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1744053841; cv=none; b=eWvyrkly2xxBTRQizasGLH3+fm+bWs4wsJaEceXKZbGVNlQW8ERI4MZ9z5o7BI1mj2Pr2+gS8XycNp9I+HNT2uxpAys2iwRQwpGQcX1Sdff0A/4j/ajaRxAJxQqXIYXp5DQ7fxAsdUo5mVMNGqPyDv1MpELyW39Be3mufCryquo= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1744053841; c=relaxed/simple; bh=hKrsDz5ys0ZG5BQ7df30DCLRkYTML6EqIAvSTrtuQf4=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=HSXyLmzHM2nFiV71nvkSe1qWSiAXUp32mmeYAVXAr8sd/VtBVpCh3fOCp/N710gzP+Nx4e9pP1aJ6+Fu0onOWcTg6TlhDpSs5q/JNV1niPHxu/E484D5OEVykB/SaDmNBtLTjadyZ1qEwuGVqGDP+kYOyYcUPvse8EXBKNc4lfI= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0BB403858CDA Received: from eig-obgw-5001a.ext.cloudfilter.net ([10.0.29.139]) by cmsmtp with ESMTPS id 1nxDuIHpEiuzS1s4euO9JH; Mon, 07 Apr 2025 19:24:00 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id 1s4duc2MmRxIG1s4euXCef; Mon, 07 Apr 2025 19:24:00 +0000 X-Authority-Analysis: v=2.4 cv=N/viFH9B c=1 sm=1 tr=0 ts=67f42650 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=XR8D0OoHHMoA:10 a=ItBw4LHWJt0A:10 a=cUuCo7Bki6VwXwnVI9oA: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=Re6JYDRbxu81ZRITenfivO0oBrKDcHA21QROViHBZPU=; b=trSKlYfGnf+lCxXeWLVu6/rpUT ApAuh3EWBo0hwOmrA42Rjqjyf8U2ah7/aCGUgozy95PphikpelGqBds6u41sOe/qXdxsuHDIzLACo MaZHpnXl1/rXtMRQ3Pub0vIz+; Received: from 97-122-123-18.hlrn.qwest.net ([97.122.123.18]:33134 helo=prentzel) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.1) (envelope-from ) id 1u1s4c-000000014rF-3h7I; Mon, 07 Apr 2025 13:23:58 -0600 From: Tom Tromey To: Guinevere Larsen Cc: Tom Tromey , gdb-patches@sourceware.org Subject: Re: [PATCH v3] gdb, configure: Add disable-formats option for configure In-Reply-To: <296b9f38-16ef-4488-ba5a-58394bde1fbb@redhat.com> (Guinevere Larsen's message of "Mon, 7 Apr 2025 14:48:45 -0300") References: <20250307115821.1507435-1-guinevere@redhat.com> <87wmc1173c.fsf@tromey.com> <296b9f38-16ef-4488-ba5a-58394bde1fbb@redhat.com> X-Attribution: Tom Date: Mon, 07 Apr 2025 13:23:56 -0600 Message-ID: <87plhnydv7.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.123.18 X-Source-L: No X-Exim-ID: 1u1s4c-000000014rF-3h7I X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-122-123-18.hlrn.qwest.net (prentzel) [97.122.123.18]:33134 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: MS4xfKQbgZL1dLDLvIR4uVEvsvP3Wu+NAwlgeSQs8c34iC4b/ewTKCjXITglSZnNwfZM5x3Y8NxpQJukkzCxvrb6RnNkCW667MOjfUjUnifK9ooTj7YmWkSA RRryBoHVsmJclJdEeWyikoTPmlDGnN+UhTL/02KjzjWvxsDAV+ItFLjFp42CZ547Yk6lSCLkD43FFUvEOuh9JqDDicuBWIwNTco= 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> I'm fine with changing this. I'm only unsure what GNU make Guinevere> feature you mean. I suppose you mean the makefile should Guinevere> have: Guinevere> elf_OBJS=elfread.c Guinevere> xcoff_OBJS=xcoff.c Guinevere> all_format_OBJS="$(elf_OBJS) $(xcoff_OBJS) ..." Yeah. Guinevere> and there is some way to parse --enable-binary-file-formats Guinevere> in the makefile? This bit would still have to be in configure. configure would just select which object keywords end up in some list. Basically I don't really like that the configure script has to be edited when shuffling source files around. Decisions about what to include or exclude can be in configure, but decisions about the files themselves should just be in makefile. Tom