From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id R6Y0ItrP0mgYeQ8AWB0awg (envelope-from ) for ; Tue, 23 Sep 2025 12:50:34 -0400 Received: by simark.ca (Postfix, from userid 112) id 778001E0BA; Tue, 23 Sep 2025 12:50:34 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED 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 A13681E04C for ; Tue, 23 Sep 2025 12:50:33 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 957AB3857706 for ; Tue, 23 Sep 2025 16:50:32 +0000 (GMT) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by sourceware.org (Postfix) with ESMTP id 1A8993858C42; Tue, 23 Sep 2025 16:50:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1A8993858C42 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 1A8993858C42 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=217.140.110.172 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1758646207; cv=none; b=I4w1cK6oEa/xUiwWuiuIyQcR12xDtbY/jqPg8IAEon9gWsUgv5Fo8M8SCiWec8VXl44wtFBiea4ReIopmacvZKe7czXDfQkFFeSzKrLkdhv7/kl6BqXXMgaTgwSjJWCJ0FFuDkNvH07Vhips6fnCczIpMw4vqee8yoiwuVU5V04= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1758646207; c=relaxed/simple; bh=dA0CKt1u0obMrND+X+UIFqKX8Ji8BICK2OrtzI68Pmw=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=vXoVyxM6unaiSce/E/YtKMyauyPs4NDEmEpG/f/NB5x6YmhYkOu5GtZvfSfJ6i65UmyRHwq7PJkpL2UnuvykRpOJi2CZKdwjM5J4LTYFKFMskxAmv0691ODwfhnaCrZIsd6AMer5LPe7x72ZHbiRjeq5zWReUgCBX06ZMWPpH5Y= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1A8993858C42 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 91018497; Tue, 23 Sep 2025 09:49:58 -0700 (PDT) Received: from e120077-lin.cambridge.arm.com (e120077-lin.cambridge.arm.com [10.2.78.71]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D23163F694; Tue, 23 Sep 2025 09:50:05 -0700 (PDT) From: Richard Earnshaw To: gcc-patches@gcc.gnu.org, binutils@sourceware.org, gdb-patches@sourceware.org Cc: jwakely@redhat.com, Richard Earnshaw Subject: [PATCH 0/1] Unify the GCC and GDB/Binutils .editorconfig files Date: Tue, 23 Sep 2025 17:49:58 +0100 Message-ID: <20250923164959.565000-1-rearnsha@arm.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Both GCC and the GDB/binutils projects have a top-level .editorconfig file. Like much of the toplevel configury it would seem sensible to try to keep this unified. This patch is an initial stab at doing that. I've also added considerably more than was in either current file in an attempt to handle some of GCC's supported languages and the test/build systems. I've had to make educated guesses for some of these languages based on a small sample of the existing code bases. If I've got them wrong please let me know. The diff is technically against the current GCC .editorconfig, but in truth there's not much that isn't changed in the patch, so I think it should be understandable by everyone. Comments welcome. R. Richard Earnshaw (1): toplevel: unify the GCC and GDB/binutils .editorconfig files .editorconfig | 122 ++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 113 insertions(+), 9 deletions(-) -- 2.43.0