This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit/Ada] Displaying wrong value for fixed point
- From: Jerome Guitton <guitton at adacore dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 13 Mar 2009 11:33:24 +0100
- Subject: Re: [commit/Ada] Displaying wrong value for fixed point
- References: <20090313013547.GB11284@adacore.com>
Joel Brobecker (brobecker@adacore.com):
> 2009-03-12 Jerome Guitton <guitton@adacore.com>
>
> * ada-lang.c (ada_delta): Change the type of numerators and
> denominators to DOUBLEST, as they may not fit into a long.
> (scaling_factor): Ditto.
>
> Tested on amd64-linux. Checked in.
>
> We have a testcase in AdaCore's testsuite, but I'm not sure whether
> we can submit it or whether the code is confidential. So I'll stay
> on the safe side, and ask Jerome to take a look at whether we can
> submit a testcase or not.
Thank you for comitting this patch Joel. It should be quite easy to
build a testcase that is independant from the customer's code. I'll work
on that.