aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.c
diff options
context:
space:
mode:
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);