gdb/fortran: Expand the set of types that support (kind=N)
authorAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 17 Jan 2019 16:30:35 +0000 (16:30 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Wed, 6 Mar 2019 18:11:31 +0000 (18:11 +0000)
commit3be47f7aa99dc90190e642a4e191c9f049e0a934
tree2b8b91477c7ad5b4bdeb68080f9f82df2180a2cc
parent4d00f5d8f6c4a1c9f334b1abb45b9ce05fb45b0a
gdb/fortran: Expand the set of types that support (kind=N)

Expand the number of types that can be adjusted with a (kind=N) type
extension.

gdb/ChangeLog:

* f-exp.y (convert_to_kind_type): Handle more type kinds.

gdb/testsuite/ChangeLog:

* gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
function.
(test_basic_parsing_of_type_kinds): Expand types tested.
(test_parsing_invalid_type_kinds): New function.
gdb/ChangeLog
gdb/f-exp.y
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.fortran/type-kinds.exp