diff options
Diffstat (limited to 'gdb/f-lang.c')
-rw-r--r-- | gdb/f-lang.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/f-lang.c b/gdb/f-lang.c index 0d7863e..e1eb475 100644 --- a/gdb/f-lang.c +++ b/gdb/f-lang.c @@ -1725,8 +1725,7 @@ build_fortran_types (struct gdbarch *gdbarch) { struct builtin_f_type *builtin_f_type = new struct builtin_f_type; - builtin_f_type->builtin_void - = arch_type (gdbarch, TYPE_CODE_VOID, TARGET_CHAR_BIT, "void"); + builtin_f_type->builtin_void = builtin_type (gdbarch)->builtin_void; builtin_f_type->builtin_character = arch_type (gdbarch, TYPE_CODE_CHAR, TARGET_CHAR_BIT, "character"); |