This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[commit] Fix tipo in doublest.c
- From: Andrew Cagney <cagney at gnu dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Sat, 07 Aug 2004 16:09:31 -0400
- Subject: [commit] Fix tipo in doublest.c
FYI,
This explains why my floating point types had strange sizes.
committed (also to 6.2),
Andrew
2004-08-07 Andrew Cagney <cagney@gnu.org>
* doublest.c (floatformat_from_length): Fix tipo, "*" not "&".
Index: doublest.c
===================================================================
RCS file: /cvs/src/src/gdb/doublest.c,v
retrieving revision 1.19
diff -p -u -r1.19 doublest.c
--- doublest.c 7 Aug 2004 17:10:33 -0000 1.19
+++ doublest.c 7 Aug 2004 20:05:43 -0000
@@ -652,7 +652,7 @@ floatformat_from_length (int len)
format = NULL;
if (format == NULL)
error ("Unrecognized %d-bit floating-point type.",
- len & TARGET_CHAR_BIT);
+ len * TARGET_CHAR_BIT);
return format;
}