This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC v2][2/2] Target FP: Make use of MPFR if available


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<T>::compare (const gdb_byte *x, const
> > struct type *type_x,
> > 
> >  #ifdef HAVE_LIBMPFR
> > 
> > +#define MPFR_USE_INTMAX_T
> > +
> >  #include <mpfr.h>
> > 
> >  class mpfr_float_ops : public target_float_ops
> 
> This looks good to me.  Can you check this in?

Will do, thanks.

-- 
John Baldwin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]