aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.c
diff options
context:
space:
mode:
authorThiago Jung Bauermann <bauerman@br.ibm.com>2007-11-27 20:13:12 +0000
committerThiago Jung Bauermann <bauerman@br.ibm.com>2007-11-27 20:13:12 +0000
commita4ae0ca1db883a8c7bdef85ad3598444c7dd8dec (patch)
tree3244002a4c0326ff27decceeb225030561e5c640 /gdb/value.c
parentc0993dbe928fa5aee10ebe8d1aaaf07b24d88db9 (diff)
downloadgdb-a4ae0ca1db883a8c7bdef85ad3598444c7dd8dec.zip
gdb-a4ae0ca1db883a8c7bdef85ad3598444c7dd8dec.tar.gz
gdb-a4ae0ca1db883a8c7bdef85ad3598444c7dd8dec.tar.bz2
* 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.
Diffstat (limited to 'gdb/value.c')
-rw-r--r--gdb/value.c2
1 files changed, 1 insertions, 1 deletions
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);