From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 106996 invoked by alias); 9 Jul 2018 04:09:59 -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 106986 invoked by uid 89); 9 Jul 2018 04:09:58 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1201, vec X-HELO: gateway23.websitewelcome.com Received: from gateway23.websitewelcome.com (HELO gateway23.websitewelcome.com) (192.185.48.71) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 09 Jul 2018 04:09:56 +0000 Received: from cm14.websitewelcome.com (cm14.websitewelcome.com [100.42.49.7]) by gateway23.websitewelcome.com (Postfix) with ESMTP id 1883A7640 for ; Sun, 8 Jul 2018 23:09:55 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id cNUpfwIgkkBj6cNUpfJkHV; Sun, 08 Jul 2018 23:09:55 -0500 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:In-Reply-To:Date: References: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=xGo9urBWLqPH0K99Nuu7drFu58Er5/THrCaFWEjirj8=; b=RXIBndhpmrLzkAsCsMoCukaynf woRZjvCLVmlBstQ4Cxo9MN5y+NqATj1peRH6eKX96YGv6Ble4qL1m/ilfRsSts8GRYVy24caKCudc u/EaIEsdmMmC0EQzioWEIhkvb; Received: from 75-166-85-72.hlrn.qwest.net ([75.166.85.72]:44258 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1fcNUo-003XwH-R1; Sun, 08 Jul 2018 23:09:54 -0500 From: Tom Tromey To: Tom Tromey Cc: Simon Marchi , Andrew Burgess , gdb-patches@sourceware.org Subject: Re: [RFA] Remove VEC from breakpoint References: <20180605192316.5423-1-tom@tromey.com> <20180703143301.GA2675@embecosm.com> <65452ba0-5ff9-bdc6-ce43-164777e9407c@simark.ca> <87h8lfpnkc.fsf@tromey.com> <878t6qq58b.fsf@tromey.com> Date: Mon, 09 Jul 2018 04:09:00 -0000 In-Reply-To: <878t6qq58b.fsf@tromey.com> (Tom Tromey's message of "Wed, 04 Jul 2018 11:29:40 -0600") Message-ID: <87efgdqcby.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2018-07/txt/msg00208.txt.bz2 >>>>> "Tom" == Tom Tromey writes: Tom> The main risk of it is that I can't compile all the nat-* files. Tom> ... but one of the buildbot builders failed like this: Tom> ../../binutils-gdb/gdb/bsd-uthread.c: In member function virtual void bsd_uthread_target::fetch_registers(regcache*, int): Tom> ../../binutils-gdb/gdb/bsd-uthread.c:326:18: error: unused variable save_inferior_ptid [-Werror=unused-variable] Tom> scoped_restore save_inferior_ptid = make_scoped_restore (&inferior_ptid); [...] Tom> Presumably this is a gcc bug, fixed since then. But I don't know if Tom> there's a reasonable way to work around it. So maybe -Wunused-variable Tom> can't be used yet. I took another look at this. The GCC bug was https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38958, fixed in GCC 4.9. That seems pretty old... I updated my warning.m4 patch to try to disable -Wunused-variable when the compiler fails a test for this bug. However, my try runs still fail. I'm going to take another attempt at it, using a hack to get the configure logging output into the file that's visible in buildbot, since I didn't see a way to fetch the config.log. Tom