From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2850 invoked by alias); 4 May 2010 21:15:02 -0000 Received: (qmail 2744 invoked by uid 22791); 4 May 2010 21:15:01 -0000 X-SWARE-Spam-Status: No, hits=-5.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 04 May 2010 21:14:53 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o44LEUc5031561 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 4 May 2010 17:14:30 -0400 Received: from host0.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o44LERKw020653 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 4 May 2010 17:14:28 -0400 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.4/8.14.4) with ESMTP id o44LEQU5022554; Tue, 4 May 2010 23:14:26 +0200 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.4/8.14.4/Submit) id o44LEQuu022549; Tue, 4 May 2010 23:14:26 +0200 Date: Tue, 04 May 2010 21:15:00 -0000 From: Jan Kratochvil To: Pierre Muller Cc: "'Joel Brobecker'" , gdb@sourceware.org, gdb-patches@sourceware.org Subject: Re: [ARI] Status of ATTRIBUTE_UNUSED in gdb sources Message-ID: <20100504211425.GA22466@host0.dyn.jankratochvil.net> References: <002701caeb90$894ad040$9be070c0$@muller@ics-cnrs.unistra.fr> <20100504153752.GJ2768@adacore.com> <20100504162233.GA1910@host0.dyn.jankratochvil.net> <005201caebcc$9ea723d0$dbf56b70$@muller@ics-cnrs.unistra.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <005201caebcc$9ea723d0$dbf56b70$@muller@ics-cnrs.unistra.fr> User-Agent: Mutt/1.5.20 (2009-08-17) X-IsSubscribed: yes 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: 2010-05/txt/msg00079.txt.bz2 On Tue, 04 May 2010 22:58:58 +0200, Pierre Muller wrote: > > -----Message d'origine----- > > De : gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] De la > > part de Jan Kratochvil > > recently -Wunused-param would catch a real bug in an Archer patch > > (missing "bp->thread = tp->num;"): > > http://sourceware.org/ml/archer/2010-q2/msg00017.html > > Did you really use -Wunused-param to catch this, > or is it just a case where it could have been useful > to have this warning? I haven't tried to use -Wunused-param; it was spotted just by eyes. Regards, Jan