From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16833 invoked by alias); 14 Jul 2016 16:49:34 -0000 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 Received: (qmail 16802 invoked by uid 89); 14 Jul 2016 16:49:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: gproxy1-pub.mail.unifiedlayer.com Received: from gproxy1-pub.mail.unifiedlayer.com (HELO gproxy1-pub.mail.unifiedlayer.com) (69.89.25.95) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with SMTP; Thu, 14 Jul 2016 16:49:23 +0000 Received: (qmail 18815 invoked by uid 0); 14 Jul 2016 16:49:21 -0000 Received: from unknown (HELO CMOut01) (10.0.90.82) by gproxy1.mail.unifiedlayer.com with SMTP; 14 Jul 2016 16:49:21 -0000 Received: from box522.bluehost.com ([74.220.219.122]) by CMOut01 with id JgpF1t0062f2jeq01gpJpB; Thu, 14 Jul 2016 10:49:20 -0600 X-Authority-Analysis: v=2.1 cv=AL9Ak13q c=1 sm=1 tr=0 a=GsOEXm/OWkKvwdLVJsfwcA==:117 a=GsOEXm/OWkKvwdLVJsfwcA==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=PnD2wP_eR3oA:10 a=wTNNr4PC6uwA:10 a=cAmyUtKerLwA:10 a=CCpqsmhAAAAA:8 a=lN9J84pDWPZ3pRa3pe0A:9 a=ul9cdbp4aOFLsgKbc677:22 Received: from [65.128.62.222] (port=39042 helo=bapiya) by box522.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.86_2) (envelope-from ) id 1bNjp6-0002ug-5M; Thu, 14 Jul 2016 10:49:16 -0600 From: Tom Tromey To: Yao Qi Cc: Tom Tromey , "gdb-patches\@sourceware.org" Subject: Re: [RFA 0/6] Add -Wunused-but-set-parameter and -Wunused-but-set-variable References: <1465248812-23902-1-git-send-email-tom@tromey.com> <87zipmokf3.fsf@tromey.com> Date: Thu, 14 Jul 2016 16:49:00 -0000 In-Reply-To: (Yao Qi's message of "Wed, 13 Jul 2016 14:45:40 +0100") Message-ID: <87bn20np12.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Identified-User: {36111:box522.bluehost.com:elynrobi:tromey.com} {sentby:smtp auth 65.128.62.222 authed with tom+tromey.com} X-Exim-ID: 1bNjp6-0002ug-5M X-Source-Sender: (bapiya) [65.128.62.222]:39042 X-Source-Auth: tom+tromey.com X-Email-Count: 0 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTIyLmJsdWVob3N0LmNvbQ== X-SW-Source: 2016-07/txt/msg00160.txt.bz2 Yao> Can you use cross compiler to cross build native gdb to catch these Yao> warnings? Tom> It seems I won't get around to this. How about I check in everything Tom> except the patch to enable the warning? That way at least some progress Tom> has been made. Yao> Yes, that is fine by me. Thanks. I've pushed the series except for the final patch. I filed a bug for the last step: https://sourceware.org/bugzilla/show_bug.cgi?id=20371 I tried adding a couple of other warnings recently, namely -Wmisleading-indentation (gdb is clean here) and -Wduplicated-cond (this exposed one real bug, filed; and a couple of minor non-bugs in the python directory). However, since I can't really do builds on other platforms, someone else will have to submit those patches. Tom