From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id mGcLMduahmcy/g4AWB0awg (envelope-from ) for ; Tue, 14 Jan 2025 12:11:55 -0500 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=h9BDGQe9; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id C56F01E100; Tue, 14 Jan 2025 12:11:55 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) 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=unavailable 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 46A8E1E05C for ; Tue, 14 Jan 2025 12:11:55 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C5913385B834 for ; Tue, 14 Jan 2025 17:11:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C5913385B834 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=h9BDGQe9 Received: from omta034.useast.a.cloudfilter.net (omta034.useast.a.cloudfilter.net [44.202.169.33]) by sourceware.org (Postfix) with ESMTPS id 57A4E385B800 for ; Tue, 14 Jan 2025 17:11:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 57A4E385B800 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 57A4E385B800 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=44.202.169.33 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1736874668; cv=none; b=kPqywhtUlmfQ2+c/uDiuxud3Rt+QytJVPdADgeVhZ0Ccav9xhuLh44pVANMTvcB2x3DDEuyuxe915W8L4ifrdWGQs6u4VBgH2ul7pX9ArBC0DH3DZKpYhmZElpX7bLVLduVMs8r4pPmyyeuKzBWakeDyz8f0wcpi1spn9n7uIjU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1736874668; c=relaxed/simple; bh=O1G6FOqfYLK/GyuKVM/kTu+y2xma8AB8HdBa0IQZOwk=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=GpU/57zfM0W+OarvsnndVPAfzdGL8wImO27rWihUWzKwdV80sYlYCPT5VAeRfU7pbphcih1CLHPu58u89OGkkIvXu9YYvkmkRIAmaE3MjVC7fHV7AxcbmFDIeUIfJNRwI5wjFDHD3NzvoKbjOymcAGhWRnbR7Xq+pG3o29QTc7Y= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 57A4E385B800 Received: from eig-obgw-6008a.ext.cloudfilter.net ([10.0.30.227]) by cmsmtp with ESMTPS id Xj3ZtMgImrKrbXkRXtNnGt; Tue, 14 Jan 2025 17:11:08 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id XkRXtfdp0SlglXkRXteFCk; Tue, 14 Jan 2025 17:11:07 +0000 X-Authority-Analysis: v=2.4 cv=IrAYcq/g c=1 sm=1 tr=0 ts=67869aab a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=VdSt8ZQiCzkA:10 a=ItBw4LHWJt0A:10 a=CCpqsmhAAAAA:8 a=5nIRu3Q2Uqb32CADphgA:9 a=ZXulRonScM0A:10 a=zZCYzV9kfG8A:10 a=ul9cdbp4aOFLsgKbc677:22 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=vvmN54MfVJ/LGrYHiZQRlBzRsCxS0lfRW44Q9iEt2bM=; b=h9BDGQe9urnFIfIGGaao8D2lWq IZTOtXoNgBhhBGmNX/DBcxB2/lAmL8UDrWDifJq0jVkrVUOoTVQb1pfWAeK1QUOQQbPlPU46JQJ/O /1KTPFOyvoFzXHi3HIJqjqt5u; Received: from 97-118-36-154.hlrn.qwest.net ([97.118.36.154]:37206 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 1tXkRW-000EWn-1y; Tue, 14 Jan 2025 10:11:06 -0700 From: Tom Tromey To: "Aktemur, Tankut Baris via Gdb" Cc: Simon Marchi , Tom Tromey , "Aktemur, Tankut Baris" Subject: Re: automated coding style tool In-Reply-To: (Tankut Baris via Gdb Aktemur's message of "Tue, 14 Jan 2025 15:17:46 +0000") References: <86538dac-6c3a-4b9e-9de9-3906e645fa4d@redhat.com> <87y16vwbzl.fsf@tromey.com> <74c8b867-f5bb-48f7-9849-11d06e63a3d7@arm.com> <87tta2r5z2.fsf@redhat.com> X-Attribution: Tom Date: Tue, 14 Jan 2025 10:11:05 -0700 Message-ID: <87tta1qq1i.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.36.154 X-Source-L: No X-Exim-ID: 1tXkRW-000EWn-1y X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-118-36-154.hlrn.qwest.net (murgatroyd) [97.118.36.154]:37206 X-Source-Auth: tom+tromey.com X-Email-Count: 3 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfDoajAZkUZyKxoLkkFSH5ruTc0DhBvOeIfm9PBwjneJWzZuobi49ZasoLhLME1wzMU/BPLGFh70q6ZRxhif6+1nHAQvBrea0I/VyfnvY6LUqSfjc2b+I C2p9ze1LJp9JdIMfoREqAhuoo9WV60N5cCqIl6xA8Kql0M8su0q6sZ1IQgM+sK+q6g4OXqugXuwbiQ== X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-bounces~public-inbox=simark.ca@sourceware.org Sender: "Gdb" >>>>> Aktemur, Tankut Baris via Gdb writes: > Regarding the automated coding style tool: is there any active attempt > to pursue this goal? Every year or two I take another look at clang-format. The discussion is here: https://sourceware.org/bugzilla/show_bug.cgi?id=30098 > Tom mentioned his t/clang-format branch in that email thread. I checked > the branch. The clang-format config file has > # BasedOnStyle: GNU > Is the GDB coding style so off from the built-in GNU style > that it cannot be reused? I don't recall why I commented this out. Anyway clang-format doesn't come very close to GNU style. I'd be ok with ignoring most of the little differences (i.e., I don't care about goto label placement), but the bin packing output is just super ugly some of the time. Tom