diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2019-01-21 15:10:55 +0000 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2019-03-06 18:11:31 +0000 |
commit | efbecbc143f19cb308ae220fb386505f41ff4bc3 (patch) | |
tree | cebdb407c56dac4baba4aa7c55815d752baa6b72 /gdb/ChangeLog | |
parent | 0841c79a3dc1cfa382164a6bb2c1ee41af3ab0a9 (diff) | |
download | gdb-efbecbc143f19cb308ae220fb386505f41ff4bc3.zip gdb-efbecbc143f19cb308ae220fb386505f41ff4bc3.tar.gz gdb-efbecbc143f19cb308ae220fb386505f41ff4bc3.tar.bz2 |
gdb/fortran: Handle older TYPE*SIZE typenames
This patch adds support for the older TYPE*SIZE typenames that are
still around in older code.
For implementation this currently reuses the kind mechanism, as under
gFortran the kind number is equivalent to the size, however, this is
not necessarily true for all compilers. If the rules for other
compilers are better understood then this code might need to be
improved slightly to allow for a distinction between size and kind,
however, adding this extra complexity now seems pointless.
gdb/ChangeLog:
* f-exp.y (direct_abs_decl): Handle TYPE*SIZE type names.
gdb/testsuite/ChangeLog:
* gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1dbec5a..8866756 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,4 +1,8 @@ 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com> + + * f-exp.y (direct_abs_decl): Handle TYPE*SIZE type names. + +2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com> Chris January <chris.january@arm.com> David Lecomber <david.lecomber@arm.com> |