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/dfp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/dfp.c') diff --git a/gdb/dfp.c b/gdb/dfp.c index 67cee13..2aadfbd 100644 --- a/gdb/dfp.c +++ b/gdb/dfp.c @@ -71,7 +71,7 @@ decimal_to_string (const gdb_byte *decbytes, int len, char *s) decimal128ToString ((decimal128 *) dec, s); break; default: - error (_("Unknown decimal floating point type.\n")); + error (_("Unknown decimal floating point type.")); break; } } @@ -103,7 +103,7 @@ decimal_from_string (gdb_byte *decbytes, int len, const char *string) decimal128FromString ((decimal128 *) dec, string, &set); break; default: - error (_("Unknown decimal floating point type.\n")); + error (_("Unknown decimal floating point type.")); break; } -- cgit v1.1