From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id ceXzJLPflWqlcxgAWB0awg (envelope-from ) for ; Mon, 31 Aug 2026 16:10:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=simark.ca; s=mail; t=1788207027; bh=oX/Kh5txvO8miu8dsRMIm7dJYthJhpmXZTEhNl0bkMg=; h=Date:Subject:To:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=ZBAwnHIZzQa87hYPQW1sNqwNnJsZ2b8ZseDqJftnh/eK7BfIZX9maFeisyO7dUv07 NnxoZDhQWaEPe+iZQQ1PhVkSJrwYJJKi6FaBRTjpMgpV/sd0hm6DM39uswZg7AOfw6 f+kBGjkXwD6zuPxSJno8AFD//z4OBT0D1HgdGnEY= Received: by simark.ca (Postfix, from userid 112) id 70A1C1E033; Mon, 31 Aug 2026 16:10:27 -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.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=4.0.1 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=simark.ca header.i=@simark.ca header.a=rsa-sha256 header.s=mail header.b=Gu0MhTiy; dkim-atps=neutral Received: from vm01.sourceware.org (vm01.sourceware.org [IPv6:2620:52:6:3111::32]) (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 E7F641E033 for ; Mon, 31 Aug 2026 16:10:26 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 351804BA2E22 for ; Mon, 31 Aug 2026 20:10:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 351804BA2E22 Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=simark.ca header.i=@simark.ca header.a=rsa-sha256 header.s=mail header.b=Gu0MhTiy Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id 384594BA2E07 for ; Mon, 31 Aug 2026 20:10:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 384594BA2E07 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=simark.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=simark.ca ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 384594BA2E07 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=158.69.221.121 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1788207003; cv=none; b=EvURGg6n0X4RzavKqgjqGHP8zcDorz9Vmr68s6xMh2prfsSvG4P5zfRFIMlJL/B+ls5QldMRcJZ7aLmhRfOS0KLnAD2UZJ7/k21cIQn1GNOzakuxCtnA6kIWVO8oXeFoae/JqAmWeS6mWX6eaq3nq5nP59DF9tZj3EsUj1L57Do= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1788207003; c=relaxed/simple; bh=oX/Kh5txvO8miu8dsRMIm7dJYthJhpmXZTEhNl0bkMg=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=BitzzOX1IPIJ5Pigz+z3bdj0mL6u1r9sZtdzJJBPNc4ZjhLOonaMX4IMjU089ZWlifmA0v9GbkpuPfFPJxI3RG287LmuLj21YRk/Cbv+ZBLqSGdNa039x7fc0mHfl8VGHwGY1Qt40OQzqCNCY9Rm14Rpffxh7Iy10kB4ZxpfVak= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=simark.ca header.i=@simark.ca header.a=rsa-sha256 header.s=mail header.b=Gu0MhTiy DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 384594BA2E07 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=simark.ca; s=mail; t=1788207000; bh=oX/Kh5txvO8miu8dsRMIm7dJYthJhpmXZTEhNl0bkMg=; h=Date:Subject:To:References:From:In-Reply-To:From; b=Gu0MhTiyXOAV8K9Iaz1aI/oKA3++NA4vlusdh4+7hz0nhnjxwOzWLCG3vKtidAOb2 Yl8104SYH7e/A5R6JhwMSitSwY8cHzuYJgFQzY/mWZND9TeRAS5zAhrOHwqL+kpDhd fqkVHqv8dDR9iHX2CKkkzPqIbWI0XPEONj5bTsFY= Received: by simark.ca (Postfix) id AC11E1E033; Mon, 31 Aug 2026 16:09:59 -0400 (EDT) Message-ID: Date: Mon, 31 Aug 2026 16:09:58 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/3] [gdb] Re-indent regformats/regdat.sh To: Tom de Vries , gdb-patches@sourceware.org References: <20260830195315.1497894-1-tdevries@suse.de> <20260830195315.1497894-2-tdevries@suse.de> Content-Language: fr From: Simon Marchi In-Reply-To: <20260830195315.1497894-2-tdevries@suse.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 On 8/30/26 3:53 PM, Tom de Vries wrote: > The script gdb/regformats/regdat.sh has inconsistent indentation: both 2 and 4 > spaces. > > Standardize to 4 spaces (as specified by .editorconfig), and document this > explicitly using a Local Variables setting, copied from > gdb/contrib/expect-read1.sh. Approved-By: Simon Marchi LGTM, but I wonder why the local variables setting is needed, since we have .editorconfig? For instance, we don't put that in every .c file... I am not strongly opposed to it, but it seems redundant and less maintainable to repeat the information in each file. Simon