From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 33081 invoked by alias); 26 Jun 2015 15:42:33 -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 33072 invoked by uid 89); 26 Jun 2015 15:42:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pd0-f181.google.com Received: from mail-pd0-f181.google.com (HELO mail-pd0-f181.google.com) (209.85.192.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 26 Jun 2015 15:42:31 +0000 Received: by pdbep18 with SMTP id ep18so55358169pdb.1 for ; Fri, 26 Jun 2015 08:42:29 -0700 (PDT) X-Received: by 10.70.134.198 with SMTP id pm6mr4651184pdb.17.1435333349594; Fri, 26 Jun 2015 08:42:29 -0700 (PDT) Received: from E107787-LIN (gcc1-power7.osuosl.org. [140.211.15.137]) by mx.google.com with ESMTPSA id ci12sm2122921pdb.41.2015.06.26.08.42.27 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 26 Jun 2015 08:42:28 -0700 (PDT) From: Yao Qi To: enh Cc: gdb-patches@sourceware.org, Doug Evans Subject: Re: [PATCH] Fix compiler warnings building against Linux uapi headers References: Date: Fri, 26 Jun 2015 15:42:00 -0000 In-Reply-To: (enh@google.com's message of "Mon, 22 Jun 2015 12:09:26 -0700") Message-ID: <86egkyqxwg.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2015-06/txt/msg00579.txt.bz2 enh writes: > to remove gdbserver's duplicate definitions. But on the assumption > that you do need to support old versions of glibc, here's a patch to > avoid the redefinition... We should avoid the redefinition in gdb/arm-linux-tdep.h too. Could you please fix it there too? > > 2015-06-22 Elliott Hughes > > * linux-arm-low.c: Only define HWCAP_VFP and friends if they're > not already defined. Fixes build against Linux uapi headers. OK with the changes. --=20 Yao (=E9=BD=90=E5=B0=A7)