[PUSHED 00/11] Fortran Parser Cleanup, KIND Support, and Intrinsic Functions

Andrew Burgess andrew.burgess@embecosm.com
Wed Mar 6 18:15:00 GMT 2019


I've now pushed this series as its just minor cleanup and some small
additions to the Fortran parser.

The only changes in the version I pushed from the earlier version is
some additional tests in some of the later patches.

--

Andrew Burgess (11):
  gdb/fortran: Remove some duplicate tests
  gdb/fortran: Cleanup code for parsing logical constants
  gdb/fortran: Simplify handling of Fortran dot operations and keywords
  gdb/fortran: Add new function to evaluate Fortran expressions
  gdb/fortran: Enable debugging of the Fortran parser
  gdb/fortran: Add Fortran 'kind' intrinsic and keyword
  gdb/fortran: Expand the set of types that support (kind=N)
  gdb/fortran: Add builtin 8-byte integer type with (kind=8) support
  gdb/fortran: Use TYPE_CODE_CHAR for character types
  gdb/fortran: Add support for the ABS intrinsic function
  gdb/fortran: Handle older TYPE*SIZE typenames

 gdb/ChangeLog                            |  76 +++++++++
 gdb/expprint.c                           |   1 +
 gdb/f-exp.y                              | 256 ++++++++++++++++++++++---------
 gdb/f-lang.c                             | 102 +++++++++++-
 gdb/f-lang.h                             |   1 +
 gdb/parse.c                              |   1 +
 gdb/parser-defs.h                        |   3 +-
 gdb/std-operator.def                     |   1 +
 gdb/testsuite/ChangeLog                  |  43 ++++++
 gdb/testsuite/gdb.fortran/dot-ops.exp    | 123 +++++++++++++++
 gdb/testsuite/gdb.fortran/intrinsics.exp |  51 ++++++
 gdb/testsuite/gdb.fortran/intrinsics.f90 |  39 +++++
 gdb/testsuite/gdb.fortran/type-kinds.exp |  98 ++++++++++++
 gdb/testsuite/gdb.fortran/types.exp      |   9 +-
 14 files changed, 727 insertions(+), 77 deletions(-)
 create mode 100644 gdb/testsuite/gdb.fortran/dot-ops.exp
 create mode 100644 gdb/testsuite/gdb.fortran/intrinsics.exp
 create mode 100644 gdb/testsuite/gdb.fortran/intrinsics.f90
 create mode 100644 gdb/testsuite/gdb.fortran/type-kinds.exp

-- 
2.14.5



More information about the Gdb-patches mailing list