This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/4] Fortran, typeprint
- From: Bernhard Heckel <bernhard dot heckel at intel dot com>
- To: qiyaoltc at gmail dot com
- Cc: gdb-patches at sourceware dot org, Bernhard Heckel <bernhard dot heckel at intel dot com>
- Date: Tue, 10 May 2016 16:15:35 +0200
- Subject: [PATCH 0/4] Fortran, typeprint
- Authentication-results: sourceware.org; auth=none
This series fixes various issues in fortran's typeprint.
Tested on Ubuntu1504, Fedora23, Fedora21
Bernhard Heckel (4):
Fortran, typeprint: Fix wrong indentation when ptype nested
structures.
Fortran, typeprint: Take level of details into account when printing
elements of a structure.
Fortran, typeprint: Decrease level of details when printing elements
of a structure.
Fortran, typeprint: Forward level of details to be printed for
pointers.
gdb/f-typeprint.c | 33 ++++++++++--------
gdb/testsuite/gdb.fortran/type.f90 | 26 +++++++++++++-
gdb/testsuite/gdb.fortran/whatis_type.exp | 53 +++++++++++++++++++++++-----
3 files changed, 87 insertions(+), 25 deletions(-)