From a4ae0ca1db883a8c7bdef85ad3598444c7dd8dec Mon Sep 17 00:00:00 2001 From: Thiago Jung Bauermann Date: Tue, 27 Nov 2007 20:13:12 +0000 Subject: * dfp.c (decimal_from_string): Remove superfluous newline from error string. (decimal_to_string): Likewise. * printcmd.c (printf_command): Change string buffer to use MAX_DECIMAL_STRING constant. * value.c (value_from_decfloat): Likewise. --- gdb/value.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/value.c') diff --git a/gdb/value.c b/gdb/value.c index 89759b8..e29bab7 100644 --- a/gdb/value.c +++ b/gdb/value.c @@ -1652,7 +1652,7 @@ value_from_decfloat (struct type *expect_type, struct type *type, if (expect_type) { int expect_len = TYPE_LENGTH (expect_type); - char decstr[128]; + char decstr[MAX_DECIMAL_STRING]; int real_len; decimal_to_string (decbytes, len, decstr); -- cgit v1.1