This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/8] Series of Fortran type printing patches
- From: Andrew Burgess <andrew dot burgess at embecosm dot com>
- To: gdb-patches at sourceware dot org
- Cc: Richard Bunt <Richard dot Bunt at arm dot com>, Andrew Burgess <andrew dot burgess at embecosm dot com>
- Date: Mon, 18 Mar 2019 12:52:15 +0000
- Subject: [PATCH 0/8] Series of Fortran type printing patches
The first patch is not Fortran at all, but is required to test later
patches.
The rest mostly relate to type printing, except #3 which adds some
more Fortran builtin procedures.
---
Andrew Burgess (8):
gdb: Add $_cimag and $_creal internal functions
gdb/fortran: Handle internal function calls
gdb/fortran: Additional builtin procedures
gdb/fortran: better types for components of complex numbers
gdb/fortran: Print 'void' type in lower case
gdb/fortran: print function arguments when printing function type
gdb/fortran: Update rules for printing whitespace in types
gdb/fortran: Add allocatable type qualifier
gdb/ChangeLog | 59 +++++++++++
gdb/NEWS | 3 +
gdb/doc/ChangeLog | 5 +
gdb/doc/gdb.texinfo | 15 +++
gdb/dwarf2read.c | 55 ++++++++++-
gdb/eval.c | 12 ++-
gdb/f-exp.y | 13 ++-
gdb/f-lang.c | 113 +++++++++++++++++++++-
gdb/f-typeprint.c | 84 +++++++++++++---
gdb/f-valprint.c | 2 +-
gdb/gdbtypes.h | 4 +
gdb/std-operator.def | 6 ++
gdb/testsuite/ChangeLog | 47 +++++++++
gdb/testsuite/gdb.base/complex-parts.c | 50 ++++++++++
gdb/testsuite/gdb.base/complex-parts.exp | 62 ++++++++++++
gdb/testsuite/gdb.base/default.exp | 2 +
gdb/testsuite/gdb.dwarf2/dw2-case-insensitive.exp | 2 +-
gdb/testsuite/gdb.fortran/complex.exp | 41 ++++++--
gdb/testsuite/gdb.fortran/complex.f | 24 -----
gdb/testsuite/gdb.fortran/complex.f90 | 44 +++++++++
gdb/testsuite/gdb.fortran/exprs.exp | 2 +-
gdb/testsuite/gdb.fortran/intrinsics.exp | 35 +++++++
gdb/testsuite/gdb.fortran/ptr-indentation.exp | 2 +-
gdb/testsuite/gdb.fortran/ptype-on-functions.exp | 45 +++++++++
gdb/testsuite/gdb.fortran/ptype-on-functions.f90 | 74 ++++++++++++++
gdb/testsuite/gdb.fortran/vla-datatypes.exp | 10 +-
gdb/testsuite/gdb.fortran/vla-ptr-info.exp | 2 +-
gdb/testsuite/gdb.fortran/vla-ptype.exp | 8 +-
gdb/testsuite/gdb.fortran/vla-type.exp | 22 ++---
gdb/testsuite/gdb.fortran/vla-value.exp | 8 +-
gdb/testsuite/gdb.mi/mi-vla-fortran.exp | 4 +-
gdb/testsuite/gdb.python/py-function.exp | 8 +-
gdb/testsuite/lib/gdb.exp | 8 ++
gdb/value.c | 52 ++++++++++
34 files changed, 837 insertions(+), 86 deletions(-)
create mode 100644 gdb/testsuite/gdb.base/complex-parts.c
create mode 100644 gdb/testsuite/gdb.base/complex-parts.exp
delete mode 100644 gdb/testsuite/gdb.fortran/complex.f
create mode 100644 gdb/testsuite/gdb.fortran/complex.f90
create mode 100644 gdb/testsuite/gdb.fortran/ptype-on-functions.exp
create mode 100644 gdb/testsuite/gdb.fortran/ptype-on-functions.f90
--
2.14.5