From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25311 invoked by alias); 30 Mar 2016 14:57:48 -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 25297 invoked by uid 89); 30 Mar 2016 14:57:47 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=todays, today's, farm X-HELO: e06smtp05.uk.ibm.com Received: from e06smtp05.uk.ibm.com (HELO e06smtp05.uk.ibm.com) (195.75.94.101) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Wed, 30 Mar 2016 14:57:46 +0000 Received: from localhost by e06smtp05.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 30 Mar 2016 15:57:42 +0100 Received: from d06dlp02.portsmouth.uk.ibm.com (9.149.20.14) by e06smtp05.uk.ibm.com (192.168.101.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 30 Mar 2016 15:57:40 +0100 X-IBM-Helo: d06dlp02.portsmouth.uk.ibm.com X-IBM-MailFrom: uweigand@de.ibm.com X-IBM-RcptTo: gdb-patches@sourceware.org Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id 5F003219004D for ; Wed, 30 Mar 2016 15:57:20 +0100 (BST) Received: from d06av11.portsmouth.uk.ibm.com (d06av11.portsmouth.uk.ibm.com [9.149.37.252]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u2UEvd5P42663950 for ; Wed, 30 Mar 2016 14:57:39 GMT Received: from d06av11.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av11.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u2UEvdmQ025148 for ; Wed, 30 Mar 2016 08:57:39 -0600 Received: from oc7340732750.ibm.com (dyn-9-152-213-105.boeblingen.de.ibm.com [9.152.213.105]) by d06av11.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id u2UEvdjw025133; Wed, 30 Mar 2016 08:57:39 -0600 Received: by oc7340732750.ibm.com (Postfix, from userid 500) id CB3D24989; Wed, 30 Mar 2016 16:57:38 +0200 (CEST) Subject: Re: [PATCH v2 3/4] gdbserver: Add powerpc fast tracepoint support. To: simon.marchi@ericsson.com (Simon Marchi) Date: Wed, 30 Mar 2016 14:57:00 -0000 From: "Ulrich Weigand" Cc: koriakin@0x04.net (=?UTF-8?Q?Marcin_Ko=c5=9bcielnicki?=), gdb-patches@sourceware.org In-Reply-To: <56FBE81E.4070708@ericsson.com> from "Simon Marchi" at Mar 30, 2016 10:52:14 AM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20160330145738.CB3D24989@oc7340732750.ibm.com> X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16033014-0021-0000-0000-00000F06424F X-SW-Source: 2016-03/txt/msg00568.txt.bz2 Hi Marcin, > This gives me an error when building on the gcc compile farm machine gcc110. > I just applied your patches on today's master. > linux-ppc-low.c: In function 'is_elfv2_inferior': > linux-ppc-low.c:774:26: error: 'EF_PPC64_ABI' undeclared (f= > irst use in this function) > return (ehdr.e_flags & EF_PPC64_ABI) == 2; You probably should add #include "elf/ppc64.h" to make sure you always got the latest defines from the in-tree BFD headers, and not the (possibly outdated) system headers. Bye, Ulrich -- Dr. Ulrich Weigand GNU/Linux compilers and toolchain Ulrich.Weigand@de.ibm.com