This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/2 v3] Two Fortran specific patches for printing data types
- From: Christoph Weinmann <christoph dot t dot weinmann at intel dot com>
- To: tromey at redhat dot com
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 24 Sep 2013 16:12:07 +0200
- Subject: [PATCH 0/2 v3] Two Fortran specific patches for printing data types
- Authentication-results: sourceware.org; auth=none
This series solves two issues with printing data types in Fortran.
One patch fixes the output indentation when printing user-defined types with pointers.
The other patch fixes PR 15326, an infinite recursion when printing a recursively
nested user-defined type.
Thanks,
Christoph
Frank Penczek (2):
Fixed indentation for printing Fortran types with pointers
Fix PR gdb/15326 infinite recursion when printing Fortran types
gdb/f-typeprint.c | 23 +++++++++----
gdb/testsuite/gdb.fortran/ptr-indentation.exp | 45 +++++++++++++++++++++++++
gdb/testsuite/gdb.fortran/ptr-indentation.f90 | 36 ++++++++++++++++++++
gdb/testsuite/gdb.fortran/type-with-ptr.exp | 45 +++++++++++++++++++++++++
gdb/testsuite/gdb.fortran/type-with-ptr.f90 | 34 +++++++++++++++++++
5 files changed, 176 insertions(+), 7 deletions(-)
create mode 100644 gdb/testsuite/gdb.fortran/ptr-indentation.exp
create mode 100644 gdb/testsuite/gdb.fortran/ptr-indentation.f90
create mode 100644 gdb/testsuite/gdb.fortran/type-with-ptr.exp
create mode 100644 gdb/testsuite/gdb.fortran/type-with-ptr.f90