From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5828 invoked by alias); 11 Mar 2011 11:59:26 -0000 Received: (qmail 5820 invoked by uid 22791); 11 Mar 2011 11:59:25 -0000 X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_00,MSGID_MULTIPLE_AT,SARE_SUB_GETRID X-Spam-Check-By: sourceware.org Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.200.153) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 11 Mar 2011 11:59:20 +0000 Received: from md2.u-strasbg.fr (md2.u-strasbg.fr [IPv6:2001:660:2402::187]) by mailhost.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id p2BBwtjW029194 ; Fri, 11 Mar 2011 12:58:55 +0100 (CET) (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from mailserver.u-strasbg.fr (ms7.u-strasbg.fr [130.79.204.16]) by md2.u-strasbg.fr (8.14.4/jtpda-5.5pre1) with ESMTP id p2BBwsLK072582 ; Fri, 11 Mar 2011 12:58:54 +0100 (CET) (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from E6510Muller (gw-ics.u-strasbg.fr [130.79.210.225]) (user=mullerp mech=LOGIN) by mailserver.u-strasbg.fr (8.14.4/jtpda-5.5pre1) with ESMTP id p2BBwrlJ034655 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) ; Fri, 11 Mar 2011 12:58:53 +0100 (CET) (envelope-from pierre.muller@ics-cnrs.unistra.fr) From: "Pierre Muller" To: "'Joel Brobecker'" Cc: "'Maxim Grigoriev'" , References: <4D798969.8070309@tensilica.com> <20110311064501.GA30306@adacore.com> <001e01cbdfd2$96205a60$c2610f20$@muller@ics-cnrs.unistra.fr> <20110311114012.GE30306@adacore.com> In-Reply-To: <20110311114012.GE30306@adacore.com> Subject: RE: [RFA] New rules for ARI (was [commit] Get rid of build warnings on xtensa-tdep.c) Date: Fri, 11 Mar 2011 14:51:00 -0000 Message-ID: <001201cbdfe3$b2167ea0$16437be0$@muller@ics-cnrs.unistra.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-03/txt/msg00660.txt.bz2 > -----Message d'origine----- > De=A0: gdb-patches-owner@sourceware.org [mailto:gdb-patches- > owner@sourceware.org] De la part de Joel Brobecker > Envoy=E9=A0: vendredi 11 mars 2011 12:40 > =C0=A0: Pierre Muller > Cc=A0: 'Maxim Grigoriev'; gdb-patches@sourceware.org > Objet=A0: Re: [RFA] New rules for ARI (was [commit] Get rid of build > warnings on xtensa-tdep.c) >=20 > > so I tried to write a new rule > > to find out if functions that have no parameters > > do use () instead of (void). >=20 > Thanks! >=20 > > While at it, I also tried to figure out if > > there were calls to functions in first lines > > (or prototype declarations with the function name at first line). >=20 > I think you meant first column? Whoops, of course, yes, thanks for catching this... =20 > > OK to add these two new rules? >=20 > I think they would be useful - but be sure to s/line/column/ in > the code as well: OK, I committed this to ss directory after the substitution. New corresponding ARI warnings should appear overnight. Pierre