From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 76058 invoked by alias); 30 Nov 2017 00:27:23 -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 76042 invoked by uid 89); 30 Nov 2017 00:27:22 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.2 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,KB_WAM_FROM_NAME_SINGLEWORD,SPF_HELO_PASS,SPF_SOFTFAIL autolearn=ham version=3.3.2 spammy= X-HELO: mail.baldwin.cx Received: from bigwig.baldwin.cx (HELO mail.baldwin.cx) (96.47.65.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 30 Nov 2017 00:27:20 +0000 Received: from ralph.baldwin.cx (c-73-231-226-104.hsd1.ca.comcast.net [73.231.226.104]) by mail.baldwin.cx (Postfix) with ESMTPSA id DA8CE10A8BE; Wed, 29 Nov 2017 19:27:18 -0500 (EST) From: John Baldwin To: gdb-patches@sourceware.org Cc: Ulrich Weigand Subject: Re: [RFC v2][2/2] Target FP: Make use of MPFR if available Date: Thu, 30 Nov 2017 00:27:00 -0000 Message-ID: <36060112.5KUaBIvkIl@ralph.baldwin.cx> User-Agent: KMail/4.14.10 (FreeBSD/11.1-STABLE; KDE/4.14.30; amd64; ; ) In-Reply-To: <20171129175536.A27B8D80320@oc3748833570.ibm.com> References: <20171129175536.A27B8D80320@oc3748833570.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-IsSubscribed: yes X-SW-Source: 2017-11/txt/msg00810.txt.bz2 On Wednesday, November 29, 2017 06:55:36 PM Ulrich Weigand wrote: > John Baldwin wrote: > > Indeed, this does fix the build on FreeBSD: > > > > diff --git a/gdb/target-float.c b/gdb/target-float.c > > index 32237ec9d9..b40b6416c1 100644 > > --- a/gdb/target-float.c > > +++ b/gdb/target-float.c > > @@ -1147,6 +1147,8 @@ host_float_ops::compare (const gdb_byte *x, const > > struct type *type_x, > > > > #ifdef HAVE_LIBMPFR > > > > +#define MPFR_USE_INTMAX_T > > + > > #include > > > > class mpfr_float_ops : public target_float_ops > > This looks good to me. Can you check this in? Will do, thanks. -- John Baldwin