2004-08-07 Andrew Cagney <cagney@gnu.org>
authorAndrew Cagney <cagney@redhat.com>
Sat, 7 Aug 2004 20:06:28 +0000 (20:06 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sat, 7 Aug 2004 20:06:28 +0000 (20:06 +0000)
* doublest.c (floatformat_from_length): Fix tipo, "*" not "&".

gdb/ChangeLog
gdb/doublest.c

index baa2287de0dac6d1ba612f54d21fdf4873705fa6..00a1b3f9089c621e8ebe66704a57904d427546bd 100644 (file)
@@ -1,5 +1,7 @@
 2004-08-07  Andrew Cagney  <cagney@gnu.org>
 
+       * doublest.c (floatformat_from_length): Fix tipo, "*" not "&".
+
        * gdbtypes.c (_initialize_gdbtypes): Do not swap builtin_type_int8
        through to builtin_type_uint128.
 
index 265e69290b743c26c742178a4d9e90e204a55b72..e4dbb2ae50baedb41940e8f158f2bc0c80dabc30 100644 (file)
@@ -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;
 }