aboutsummaryrefslogtreecommitdiff
path: root/gdb/jv-lang.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/jv-lang.c')
-rw-r--r--gdb/jv-lang.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/jv-lang.c b/gdb/jv-lang.c
index bc2fc62..6bf72b9 100644
--- a/gdb/jv-lang.c
+++ b/gdb/jv-lang.c
@@ -1241,9 +1241,9 @@ build_java_types (struct gdbarch *gdbarch)
builtin_java_type->builtin_char
= arch_character_type (gdbarch, 16, 1, "char");
builtin_java_type->builtin_float
- = arch_float_type (gdbarch, 32, "float", NULL);
+ = arch_float_type (gdbarch, 32, "float", floatformats_ieee_single);
builtin_java_type->builtin_double
- = arch_float_type (gdbarch, 64, "double", NULL);
+ = arch_float_type (gdbarch, 64, "double", floatformats_ieee_double);
builtin_java_type->builtin_void
= arch_type (gdbarch, TYPE_CODE_VOID, 1, "void");