aboutsummaryrefslogtreecommitdiff
path: root/gdb/common/format.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/common/format.c')
-rw-r--r--gdb/common/format.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/gdb/common/format.c b/gdb/common/format.c
index d68579c..8cb1551 100644
--- a/gdb/common/format.c
+++ b/gdb/common/format.c
@@ -274,8 +274,12 @@ parse_format_string (const char **arg)
case 'g':
case 'E':
case 'G':
- if (seen_big_h || seen_big_d || seen_double_big_d)
- this_argclass = decfloat_arg;
+ if (seen_double_big_d)
+ this_argclass = dec128float_arg;
+ else if (seen_big_d)
+ this_argclass = dec64float_arg;
+ else if (seen_big_h)
+ this_argclass = dec32float_arg;
else if (seen_big_l)
this_argclass = long_double_arg;
else