gdb/fortran: Add builtin 8-byte integer type with (kind=8) support
Add a new builtin type, an 8-byte integer, and allow GDB to parse 'integer (kind=8)', returning the new 8-byte integer. gdb/ChangeLog: * f-exp.y (convert_to_kind_type): Handle integer (kind=8). * f-lang.c (build_fortran_types): Setup builtin_integer_s8. * f-lang.h (struct builtin_f_type): Add builtin_integer_s8 field. gdb/testsuite/ChangeLog: * gdb.fortran/type-kinds.exp: Test new integer type kind.
This commit is contained in:
parent
3be47f7aa9
commit
067630bdb5
6 changed files with 18 additions and 0 deletions
|
@ -66,6 +66,7 @@ struct builtin_f_type
|
|||
struct type *builtin_character;
|
||||
struct type *builtin_integer;
|
||||
struct type *builtin_integer_s2;
|
||||
struct type *builtin_integer_s8;
|
||||
struct type *builtin_logical;
|
||||
struct type *builtin_logical_s1;
|
||||
struct type *builtin_logical_s2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue