[PATCHv3 0/2] Fortran Array Slicing and Striding Support
Andrew Burgess
andrew.burgess@embecosm.com
Sat Sep 19 09:47:59 GMT 2020
Since v2 of this series:
- Patches 1 to 4 have been dropped, replaced by Pedro's already
committed enum_flags reworking.
- Patches 5, 6, 7, and 9 have been committed, these were refactor,
testsuite fixes, and a change in whitespace output that I thought
was an obvious improvement, so I just comitted these.
The remaining two patches are the ones that I really think need some
review before I can merge them.
All feedback is welcome.
Thanks,
Andrew
---
Andrew Burgess (2):
gdb: Convert enum range_type to a bit field enum
gdb/fortran: Add support for Fortran array slices at the GDB prompt
gdb/ChangeLog | 52 ++
gdb/Makefile.in | 1 +
gdb/NEWS | 13 +
gdb/doc/ChangeLog | 7 +
gdb/doc/gdb.texinfo | 30 +
gdb/expprint.c | 53 +-
gdb/expression.h | 27 +-
gdb/f-array-walker.h | 255 +++++++
gdb/f-exp.y | 52 +-
gdb/f-lang.c | 704 ++++++++++++++++--
gdb/f-lang.h | 19 +-
gdb/f-valprint.c | 190 ++---
gdb/gdbtypes.c | 12 +-
gdb/parse.c | 24 +-
gdb/rust-exp.y | 21 +-
gdb/rust-lang.c | 25 +-
gdb/testsuite/ChangeLog | 10 +
.../gdb.fortran/array-slices-bad.exp | 69 ++
.../gdb.fortran/array-slices-bad.f90 | 42 ++
.../gdb.fortran/array-slices-sub-slices.exp | 111 +++
.../gdb.fortran/array-slices-sub-slices.f90 | 96 +++
gdb/testsuite/gdb.fortran/array-slices.exp | 267 ++++++-
gdb/testsuite/gdb.fortran/array-slices.f90 | 364 ++++++++-
gdb/testsuite/gdb.fortran/vla-sizeof.exp | 4 +-
24 files changed, 2129 insertions(+), 319 deletions(-)
create mode 100644 gdb/f-array-walker.h
create mode 100644 gdb/testsuite/gdb.fortran/array-slices-bad.exp
create mode 100644 gdb/testsuite/gdb.fortran/array-slices-bad.f90
create mode 100644 gdb/testsuite/gdb.fortran/array-slices-sub-slices.exp
create mode 100644 gdb/testsuite/gdb.fortran/array-slices-sub-slices.f90
--
2.25.4
More information about the Gdb-patches
mailing list