From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nx210.node02.secure-mailgate.com (nx210.node02.secure-mailgate.com [192.162.87.210]) by sourceware.org (Postfix) with ESMTPS id BB5283858020 for ; Wed, 10 Mar 2021 10:33:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org BB5283858020 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=trande.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=zied.guermazi@trande.de Received: from host202.checkdomain.de ([185.137.168.148]) by node02.secure-mailgate.com with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1lJw8u-00GagV-Ld; Wed, 10 Mar 2021 11:32:54 +0100 X-SecureMailgate-Identity: host202.checkdomain.de Received: from [192.168.178.48] (dynamic-077-012-187-212.77.12.pool.telefonica.de [77.12.187.212]) (Authenticated sender: zied.guermazi@trande.de) by host202.checkdomain.de (Postfix) with ESMTPSA id 0E330320005; Wed, 10 Mar 2021 11:32:38 +0100 (CET) X-SecureMailgate-Identity: host202.checkdomain.de Subject: Re: GNU style checker for GDB To: "Metzger, Markus T" Cc: Dave Marples , David Blaikie , "gdb@sourceware.org" , Simon Marchi References: <3a4748a5-8059-aa9e-a55a-3939dd569c36@trande.de> <278d129c-f27c-c47c-3e33-4a5a85cda855@polymtl.ca> From: Zied Guermazi Message-ID: <8f1db69a-32e8-02f8-5e16-f927bc3c0d66@trande.de> Date: Wed, 10 Mar 2021 11:32:24 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-PPP-Message-ID: <20210310103238.2750063.35406@host202.checkdomain.de> X-PPP-Vhost: trande.de X-Originating-IP: 185.137.168.148 X-SecureMailgate-Domain: host202.checkdomain.de X-SecureMailgate-Username: 185.137.168.148 Authentication-Results: secure-mailgate.com; auth=pass smtp.auth=185.137.168.148@host202.checkdomain.de X-SecureMailgate-Outgoing-Class: ham X-SecureMailgate-Outgoing-Evidence: Combined (0.05) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT8qvp3IHBjiIjLn91QfT/DxPUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5y9C8DUPhtBGWKxgYMaLLIDGMSmv7OaQfPCWkUw4wZGnwAl NMvKlbQ/3y1LL/pPc3FjNSVrf+qcppfkgFnbWEXMl+veaQTJkiHFlrPVSprpZEqmM3AzMllw8CeC zYTCJnHG1CUN+kNrdnXCo/HDLTdORjBe+QgQQp9taS0stNc7mWpz6HZbTPs8icRGEBHnGpEjpdE0 V/cHd5xEoLckBeoql5NTPfgi0oyJXtnM99+VvGCSb710bnYdFRrmFTAa1r893AQw6H3DDU791cIt 6S+VsfFCoocAF+QbtphSqAMXR/zNdfIk8og+ZqRV0Hm0iMj3f46BisVs5dCvz3CqCpn5fed2v5gI yaSJ26xGJ+jcwXHlIA3pTwAl5JIJFANgBUKPnhSSJrWm2hmEaFnXALYw7mJ/ru/CtATLMOwX0h4N QdI+pvGd027gyAiy/CBKXr4oTKjt4Y6TgJhTUMNv2aEceeewiSQkF1R/YDu1ByBH/KSMoz0WXDes TxRvISsE6YWirzO0LfotnHnS77zSB7dKn+E0u8Q2bwj0utXpKqUy4WQPopT0O/sqM5Rw+Y4ERtxp Wa+ugYM0bKLNUVUYhaqIkxagxqTy3Eelsrf2AHilqFeDa8bXSePZITD2qLBj0c4qWqMUz11mddD5 9vPIXm+uS85Uq67Kj5Qk12Val0LSA9pa8dT8dyXWaq4k0RJx5iNTsRJqzcfilhNYNk0SUzm9F2kn ERAl3dW+CbKSkmMcUbZ++Mm698/2geVxWUkasV2jJhtNVWQXW+/idbUt7eOJEAkj3A+Ayf90lXAE 1KL6y3L80rSd4MV1zFvkF3M6YmLO+I8nhVHBDjvI3CMSU9POMZrN/I+3HHbmx38kRgNWNWvJfOI+ MmJ4cnbgLVfroScps7S52Av3g1y3S59fmXaqQmL414Xd8piAUG0Z7LNVgRxwEiTVJqDh0qKoKsXx 5lm5+q+QwD2TPeLfjUwMsvWUBeO/ASFTO25jsHDXdXc8uKIikF3J1zSEf84rUGEf/FArSpDzjEtj fX8+OHl4cyU69fCFI9mQvp9M4iswbvDVDfUMlBwVrIevXcahwxnmx0NOPS+fNCMB82tk/ufUt4Z4 Z9YyMdHoX5HB2qBhNiid2ORC9v+FRSMMgw8fRa53qHQVnya/+/GT/PFpEF4nsyQX9jihx+Za/cV7 0jOJzN2r4A== X-Report-Abuse-To: spam@node04.secure-mailgate.com X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00, FOREIGN_BODY1, HTML_MESSAGE, KAM_DMARC_STATUS, NICE_REPLY_A, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Mar 2021 10:33:04 -0000 hi thanks Markus, the script was helpful spotting style mismatch. can this script be referred from https://sourceware.org/gdb/wiki/Internals%20Coding-Standards ? Kind Regards Zied Guermazi On 09.03.21 07:08, Metzger, Markus T wrote: > There's gcc.git/contrib/check_GNU_style.sh. > > Regards, > Markus. > >> -----Original Message----- >> From: Gdb On Behalf Of Dave Marples >> Sent: Dienstag, 9. März 2021 00:22 >> To: gdb@sourceware.org >> Subject: Re: GNU style checker for GDB >> >> >> On 08/03/2021 22:39, David Blaikie via Gdb wrote: >>> I think if you can point to a widely used style (the gdb (& binutils more >>> generally?) codebase) there's probably going to be a fair bit of >>> sympathy/understanding there. >> It seems to me that this is a problem screaming out for Machine >> Learning. I see so many projects that don't have a formal style guide >> but have a "please format your code like the rest of the code is already >> formatted 'cos we like that" policy. Nothing wrong with that policy at >> all, except that it's obviously incredibly difficult to automate. >> >> It would make a really nice final year undergrad project for someone to >> train up an AI on the style of an existing codebase, then use the >> developed knowledge to edit new code into that same format. >> >> ...anyone got any suitably smart final year students that would bite on >> a project like that? I can think of plenty of projects that could make >> use of it! >> >> DAVE > Intel Deutschland GmbH > Registered Address: Am Campeon 10, 85579 Neubiberg, Germany > Tel: +49 89 99 8853-0, www.intel.de > Managing Directors: Christin Eisenschmid, Sharon Heck, Tiffany Doon Silva > Chairperson of the Supervisory Board: Nicole Lau > Registered Office: Munich > Commercial Register: Amtsgericht Muenchen HRB 186928 -- *Zied Guermazi* founder Trande UG Leuschnerstraße 2 69469 Weinheim/Germany Mobile: +491722645127 mailto:zied.guermazi@trande.de *Trande UG* Leuschnerstraße 2, D-69469 Weinheim; Telefon: +491722645127 Sitz der Gesellschaft: Weinheim- Registergericht: AG Mannheim HRB 736209 - Geschäftsführung: Zied Guermazi *Confidentiality Note* This message is intended only for the use of the named recipient(s) and may contain confidential and/or privileged information. If you are not the intended recipient, please contact the sender and delete the message. Any unauthorized use of the information contained in this message is prohibited.