gdb/fortran: Add builtin 8-byte integer type with (kind=8) support
authorAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 17 Jan 2019 16:31:56 +0000 (16:31 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Wed, 6 Mar 2019 18:11:31 +0000 (18:11 +0000)
commit067630bdb553bb889104e3b064e4551531ddcedc
tree3327cbb47953a59b2d8628a20641bab91faac310
parent3be47f7aa99dc90190e642a4e191c9f049e0a934
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.
gdb/ChangeLog
gdb/f-exp.y
gdb/f-lang.c
gdb/f-lang.h
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.fortran/type-kinds.exp