This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH V2 0/7] 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: Fri, 13 May 2016 11:34:39 +0200
- Subject: [PATCH V2 0/7] Fortran, typeprint
- Authentication-results: sourceware.org; auth=none
This series fixes various issues in fortran's typeprint.
Tested on Ubuntu1504, Fedora23, Fedora21
Addressed in V2:
* Split Patch V1 1/4
* Patch V2 3/7 Move "show -1" to next patch.
* Patch V2 3/7 Print only the elements of the outermost structure.
* Patch V2 5/7 New.
* Patch V2 6/7 New.
Bernhard Heckel (7):
Fortran, testsuite: Use multi_line in whatis_type testcase.
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, testsuite: Add testcases for nested structures.
Fortran, testsuite: Fix duplicate testcase name.
Fortran, typeprint: Forward level of details to be printed for
pointers.
gdb/f-typeprint.c | 33 +++++++++++--------
gdb/testsuite/gdb.fortran/derived-type.exp | 4 +--
gdb/testsuite/gdb.fortran/type.f90 | 27 +++++++++++++++-
gdb/testsuite/gdb.fortran/vla-type.exp | 52 +++++++++++++++++++-----------
gdb/testsuite/gdb.fortran/whatis_type.exp | 41 ++++++++++++++++++-----
5 files changed, 113 insertions(+), 44 deletions(-)
--
2.7.1.339.g0233b80