diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2021-02-11 13:34:06 +0000 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2021-02-12 09:22:17 +0000 |
commit | 96df3e28b835ccb5804bcca96f417761e5e8be67 (patch) | |
tree | 6b09c8d9cb20a88b9cf4081f1814cfafaa86de62 /gdb/ChangeLog | |
parent | 17e04eff810ecf1f8392a995876a98361c565ec7 (diff) | |
download | gdb-96df3e28b835ccb5804bcca96f417761e5e8be67.zip gdb-96df3e28b835ccb5804bcca96f417761e5e8be67.tar.gz gdb-96df3e28b835ccb5804bcca96f417761e5e8be67.tar.bz2 |
gdb/fortran: support ALLOCATED builtin
Add support for the ALLOCATED keyword to the Fortran expression
parser.
gdb/ChangeLog:
* f-exp.y (f77_keywords): Add allocated.
* f-lang.c (evaluate_subexp_f): Handle UNOP_FORTRAN_ALLOCATED.
(operator_length_f): Likewise.
(print_subexp_f): Likewise.
(dump_subexp_body_f): Likewise.
(operator_check_f): Likewise.
* std-operator.def (UNOP_FORTRAN_ALLOCATED): New operator.
gdb/testsuite/ChangeLog:
* gdb.fortran/allocated.exp: New file.
* gdb.fortran/allocated.f90: New file.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ff44b8b..c71d779 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,13 @@ +2021-02-12 Andrew Burgess <andrew.burgess@embecosm.com> + + * f-exp.y (f77_keywords): Add allocated. + * f-lang.c (evaluate_subexp_f): Handle UNOP_FORTRAN_ALLOCATED. + (operator_length_f): Likewise. + (print_subexp_f): Likewise. + (dump_subexp_body_f): Likewise. + (operator_check_f): Likewise. + * std-operator.def (UNOP_FORTRAN_ALLOCATED): New operator. + 2021-02-11 Tom de Vries <tdevries@suse.de> PR symtab/27353 |