From d943a6e9816b47be51531161c15314d5711a8106 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 7 Aug 2004 20:06:28 +0000 Subject: [PATCH] 2004-08-07 Andrew Cagney * doublest.c (floatformat_from_length): Fix tipo, "*" not "&". --- gdb/ChangeLog | 2 ++ gdb/doublest.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index baa2287de0..00a1b3f908 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,7 @@ 2004-08-07 Andrew Cagney + * doublest.c (floatformat_from_length): Fix tipo, "*" not "&". + * gdbtypes.c (_initialize_gdbtypes): Do not swap builtin_type_int8 through to builtin_type_uint128. diff --git a/gdb/doublest.c b/gdb/doublest.c index 265e69290b..e4dbb2ae50 100644 --- a/gdb/doublest.c +++ b/gdb/doublest.c @@ -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; } -- 2.11.0