aboutsummaryrefslogtreecommitdiff
path: root/gdb/m2-lang.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/m2-lang.c')
-rw-r--r--gdb/m2-lang.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/m2-lang.c b/gdb/m2-lang.c
index 90c3b2f..1421149 100644
--- a/gdb/m2-lang.c
+++ b/gdb/m2-lang.c
@@ -416,10 +416,7 @@ build_m2_types (struct gdbarch *gdbarch)
TYPE_FLAG_UNSIGNED,
"CARDINAL", (struct objfile *) NULL);
builtin_m2_type->builtin_real =
- init_type (TYPE_CODE_FLT,
- gdbarch_float_bit (gdbarch) / TARGET_CHAR_BIT,
- 0,
- "REAL", (struct objfile *) NULL);
+ init_float_type (gdbarch_float_bit (gdbarch), "REAL", NULL);
builtin_m2_type->builtin_char =
init_type (TYPE_CODE_CHAR, TARGET_CHAR_BIT / TARGET_CHAR_BIT,
TYPE_FLAG_UNSIGNED,