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 v2 0/2] Two Fortran specific patches for printing data types


This series solves two issues with printing data types in Fortran.
The first patch fixes the output indentation when printing user-defined types
with pointers. The second patch fixes PR 15326, an infinite recursion when
printing a recursively nested user-defined type.
V2 adresses indentation and changelog entries, and adds test cases for each
patch.

Cheers,
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 |   53 +++++++++++++++++++++
 gdb/testsuite/gdb.fortran/ptr-indentation.f90 |   33 +++++++++++++
 gdb/testsuite/gdb.fortran/type-with-ptr.exp   |   63 +++++++++++++++++++++++++
 gdb/testsuite/gdb.fortran/type-with-ptr.f90   |   34 +++++++++++++
 5 files changed, 199 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]