From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 102138 invoked by alias); 8 Jul 2015 14:05:26 -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 102070 invoked by uid 89); 8 Jul 2015 14:05:25 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_50,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mga14.intel.com Received: from mga14.intel.com (HELO mga14.intel.com) (192.55.52.115) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 08 Jul 2015 14:05:20 +0000 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP; 08 Jul 2015 07:05:18 -0700 X-ExtLoop1: 1 Received: from irsmsx151.ger.corp.intel.com ([163.33.192.59]) by fmsmga001.fm.intel.com with ESMTP; 08 Jul 2015 07:05:18 -0700 Received: from irsmsx104.ger.corp.intel.com ([169.254.5.171]) by IRSMSX151.ger.corp.intel.com ([169.254.4.108]) with mapi id 14.03.0224.002; Wed, 8 Jul 2015 15:03:27 +0100 From: "Metzger, Markus T" To: Pedro Alves CC: "gdb-patches@sourceware.org" Subject: RE: [PATCH 3/4] ari, btrace: avoid unsigned long long Date: Wed, 08 Jul 2015 14:05:00 -0000 Message-ID: References: <1436360074-8625-1-git-send-email-markus.t.metzger@intel.com> <1436360074-8625-3-git-send-email-markus.t.metzger@intel.com> <559D2855.9010501@redhat.com> In-Reply-To: <559D2855.9010501@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/msg00215.txt.bz2 > -----Original Message----- > From: gdb-patches-owner@sourceware.org [mailto:gdb-patches- > owner@sourceware.org] On Behalf Of Pedro Alves > Sent: Wednesday, July 8, 2015 3:41 PM > To: Metzger, Markus T > Cc: gdb-patches@sourceware.org > Subject: Re: [PATCH 3/4] ari, btrace: avoid unsigned long long >=20 > On 07/08/2015 01:54 PM, Markus Metzger wrote: > > Fix the ARI warning about the use of unsigned long long. We can't use > ULONGEST > > as this is defined unsigned long on 32-bit systems. >=20 > Hmm, it is? >=20 > I'm looking at common/common-types.h and not seeing it. Sorry, I confused this with CORE_ADDR. The issue here is that it is defined "unsigned long" on 64-bit systems, which is incompatible with __u64 defined as "unsigned long long". I'll update the commit message. 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