diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2019-01-17 16:31:56 +0000 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2019-03-06 18:11:31 +0000 |
commit | 067630bdb553bb889104e3b064e4551531ddcedc (patch) | |
tree | 3327cbb47953a59b2d8628a20641bab91faac310 /gdb/testsuite/gdb.fortran | |
parent | 3be47f7aa99dc90190e642a4e191c9f049e0a934 (diff) | |
download | gdb-067630bdb553bb889104e3b064e4551531ddcedc.zip gdb-067630bdb553bb889104e3b064e4551531ddcedc.tar.gz gdb-067630bdb553bb889104e3b064e4551531ddcedc.tar.bz2 |
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.
Diffstat (limited to 'gdb/testsuite/gdb.fortran')
-rw-r--r-- | gdb/testsuite/gdb.fortran/type-kinds.exp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.fortran/type-kinds.exp b/gdb/testsuite/gdb.fortran/type-kinds.exp index c679bc5..198ac58 100644 --- a/gdb/testsuite/gdb.fortran/type-kinds.exp +++ b/gdb/testsuite/gdb.fortran/type-kinds.exp @@ -54,6 +54,7 @@ proc test_basic_parsing_of_type_kinds {} { test_cast_1_to_type_kind "integer" "2" "1" "2" test_cast_1_to_type_kind "integer" "4" "1" "4" + test_cast_1_to_type_kind "integer" "8" "1" "8" } proc test_parsing_invalid_type_kinds {} { |