diff options
Diffstat (limited to 'gdb/jv-lang.c')
-rw-r--r-- | gdb/jv-lang.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/jv-lang.c b/gdb/jv-lang.c index 9d24845..c885ec7 100644 --- a/gdb/jv-lang.c +++ b/gdb/jv-lang.c @@ -1182,9 +1182,9 @@ build_java_types (struct gdbarch *gdbarch) builtin_java_type->builtin_char = init_type (TYPE_CODE_CHAR, 2, TYPE_FLAG_UNSIGNED, "char", NULL); builtin_java_type->builtin_float - = init_type (TYPE_CODE_FLT, 4, 0, "float", NULL); + = init_float_type (32, "float", NULL); builtin_java_type->builtin_double - = init_type (TYPE_CODE_FLT, 8, 0, "double", NULL); + = init_float_type (64, "double", NULL); builtin_java_type->builtin_void = init_type (TYPE_CODE_VOID, 1, 0, "void", NULL); |