From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 47012 invoked by alias); 13 Jul 2015 07:39:02 -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 47003 invoked by uid 89); 13 Jul 2015 07:39:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mga01.intel.com Received: from mga01.intel.com (HELO mga01.intel.com) (192.55.52.88) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 13 Jul 2015 07:39:00 +0000 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 13 Jul 2015 00:38:58 -0700 X-ExtLoop1: 1 Received: from irsmsx107.ger.corp.intel.com ([163.33.3.99]) by fmsmga001.fm.intel.com with ESMTP; 13 Jul 2015 00:38:57 -0700 Received: from irsmsx104.ger.corp.intel.com ([169.254.5.171]) by IRSMSX107.ger.corp.intel.com ([169.254.10.39]) with mapi id 14.03.0224.002; Mon, 13 Jul 2015 08:38:56 +0100 From: "Metzger, Markus T" To: Pedro Alves CC: "gdb-patches@sourceware.org" , "Joel Brobecker (brobecker@adacore.com)" Subject: RE: [PATCH 1/4] btrace: fix build fail with 32-bit BFD Date: Mon, 13 Jul 2015 07:39:00 -0000 Message-ID: References: <1436360074-8625-1-git-send-email-markus.t.metzger@intel.com> <559D28BB.9050603@redhat.com> In-Reply-To: <559D28BB.9050603@redhat.com> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2015-07/txt/msg00363.txt.bz2 > -----Original Message----- > From: Pedro Alves [mailto:palves@redhat.com] > Sent: Wednesday, July 8, 2015 3:42 PM > To: Metzger, Markus T > Cc: gdb-patches@sourceware.org > Subject: Re: [PATCH 1/4] btrace: fix build fail with 32-bit BFD >=20 > On 07/08/2015 01:54 PM, Markus Metzger wrote: > > When compiling GDB with 32-bit BFD, the build fails with: > > > > In file included from btrace.h:33:0, > > from btrace.c:23: > > /usr/include/intel-pt.h:1643:51: note: expected 'int (*)(uint8_t *, siz= e_t, > > const struct pt_asid *, uint64_t, void *)' but argument is of type 'int > > (*)(gdb_byte *, size_t, const struct pt_asid *, CORE_ADDR, void *)' ex= tern > > pt_export int pt_image_set_callback(struct pt_image *image, ^ > > > > Fix it. > > > > 2015-07-08 Markus Metzger > > > > gdb/ > > * btrace.c (btrace_pt_readmem_callback): Change type of PC > argument. >=20 > OK. Would this make sense for GDB 7.10, as well? Regards, Markus. Intel Deutschland GmbH Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany Tel: +49 89 99 8853-0, www.intel.de Managing Directors: Christin Eisenschmid, Prof. Dr. Hermann Eul Chairperson of the Supervisory Board: Tiffany Doon Silva Registered Office: Munich Commercial Register: Amtsgericht Muenchen HRB 186928