gdb/fortran: add support for legacy .xor. operator
authorAndrew Burgess <andrew.burgess@embecosm.com>
Wed, 24 Feb 2021 17:35:18 +0000 (17:35 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 25 Feb 2021 10:07:44 +0000 (10:07 +0000)
commit170f4b23b6df18f6f9eb178530b96d3b056818ed
tree9fbdbc267782aed3346fe1efe5f809850f422d30
parentbbaddd4bbeba65200ee805d87c2e3a845842e3eb
gdb/fortran: add support for legacy .xor. operator

gfortran supports .xor. as an alias for .neqv., see:

  https://gcc.gnu.org/onlinedocs/gfortran/_002eXOR_002e-operator.html

this commit adds support for this operator to GDB.

gdb/ChangeLog:

* f-exp.y (fortran_operators): Add ".xor.".

gdb/testsuite/ChangeLog:

* gdb.fortran/dot-ops.exp (dot_operations): Test ".xor.".
gdb/ChangeLog
gdb/f-exp.y
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.fortran/dot-ops.exp