This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH V2 0/5] Fortran: Resolve target types of pointers.
- From: Bernhard Heckel <bernhard dot heckel at intel dot com>
- To: qiyaoltc at gmail dot com, eliz at gnu dot org
- Cc: gdb-patches at sourceware dot org, Bernhard Heckel <bernhard dot heckel at intel dot com>
- Date: Mon, 4 Jul 2016 11:52:18 +0200
- Subject: [PATCH V2 0/5] Fortran: Resolve target types of pointers.
- Authentication-results: sourceware.org; auth=none
Addressed in V2:
- The type of the pointer should be known regardless it is
associated with target or not, [PATCH V2 1/5].
- Removed [PATCH V1 1/3], moved tests to [PATCH V2 2/5].
- Added tests to print derefenced pointers, [PATCH V2 2/5].
- Fix address print of not allocated arrays/pointer to
not allocated types, [PATCH V2 4/5]
Bernhard Heckel (5):
Fortran: Typeprint, fix dangling types.
Fortran: Testsuite, add print of pointer types.
Fortran: Resolve dynamic target types of pointers.
Fortran: Fix query of address of not-allocated types.
Fortran: Handle cyclic pointers.
gdb/NEWS | 2 +
gdb/f-typeprint.c | 95 ++++++++++----------
gdb/gdbtypes.c | 96 +++++++++++++++++++-
gdb/testsuite/gdb.fortran/pointers.exp | 147 +++++++++++++++++++++++++++++++
gdb/testsuite/gdb.fortran/pointers.f90 | 109 +++++++++++++++++++++++
gdb/testsuite/gdb.fortran/print_type.exp | 100 +++++++++++++++++++++
gdb/testsuite/gdb.fortran/vla-ptype.exp | 12 +--
gdb/testsuite/gdb.fortran/vla-type.exp | 7 +-
gdb/testsuite/gdb.fortran/vla-value.exp | 4 +-
gdb/testsuite/gdb.mi/mi-vla-fortran.exp | 12 ++-
gdb/valops.c | 6 ++
11 files changed, 528 insertions(+), 62 deletions(-)
create mode 100644 gdb/testsuite/gdb.fortran/pointers.exp
create mode 100644 gdb/testsuite/gdb.fortran/pointers.f90
create mode 100755 gdb/testsuite/gdb.fortran/print_type.exp
--
2.7.1.339.g0233b80