This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Add some VAX floating point formats to floatformat.[ch]
- From: Ken Raeburn <raeburn at raeburn dot org>
- To: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- Cc: gdb-patches at sourceware dot org, binutils at sourceware dot org, gcc-patches at gcc dot org
- Date: Mon, 22 Aug 2005 17:42:20 -0400
- Subject: Re: [RFA] Add some VAX floating point formats to floatformat.[ch]
- References: <200508212153.j7LLrJXJ006901@elgar.sibelius.xs4all.nl>
On Aug 21, 2005, at 17:53, Mark Kettenis wrote:
This patch adds support for the two VAX floating-point formats used by
GCC for 'float' and 'double'. The real guts are in gdb/doublest.c
(which I wil post later to the gdb list); this only adds the
description.
It's been a long time since I checked, but doesn't gcc support both
of the "double"-size FP formats the VAX architecture has, in addition
to the "float" format?
+const struct floatformat floatformat_vax_single =
+{
+ floatformat_vax, 32, 0, 1, 8, 129, 0, 9, 23,
+ floatformat_intbit_no,
+ "floatformat_vax_single",
+ floatformat_always_valid
+};
+const struct floatformat floatformat_vax_double =
+{
+ floatformat_vax, 64, 0, 1, 8, 129, 0, 9, 55,
+ floatformat_intbit_no,
+ "floatformat_vax_single",
+ floatformat_always_valid
+};
Shouldn't this one be labelled "floatformat_vax_double"? (And maybe
"_d" or "_g"?)