This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 0/2 v3] Two Fortran specific patches for printing data types


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]