This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/3] fortran: Enable arrays of structures with dynamic member types.
- From: Bernhard Heckel <bernhard dot heckel at intel dot com>
- To: brobecker at adacore dot com
- Cc: gdb-patches at sourceware dot org, Bernhard Heckel <bernhard dot heckel at intel dot com>
- Date: Thu, 17 Mar 2016 09:43:06 +0100
- Subject: [PATCH 0/3] fortran: Enable arrays of structures with dynamic member types.
- Authentication-results: sourceware.org; auth=none
This patch series enables the user to evaluate:
1. Local structures with dynamic member types.
2. Local arrays of structs with dynamic member types.
3. Dynamic arrays of structs with static and/or dynamic member types.
Bernhard Heckel (2):
fort_dyn_array: Enable dynamic member types inside a structure.
fort_dyn_array: Support evaluation of dynamic elements inside arrays.
Keven Boell (1):
fort_dyn_array: Use value constructor instead of raw-buffer
manipulation.
gdb/f-valprint.c | 118 +++++++++----------------
gdb/gdbtypes.c | 43 ++++++++-
gdb/gdbtypes.h | 3 +
gdb/testsuite/gdb.fortran/vla-type.exp | 153 +++++++++++++++++++++++++++++++++
gdb/testsuite/gdb.fortran/vla-type.f90 | 104 ++++++++++++++++++++++
gdb/valarith.c | 9 ++
gdb/value.c | 35 +++++++-
7 files changed, 380 insertions(+), 85 deletions(-)
create mode 100755 gdb/testsuite/gdb.fortran/vla-type.exp
create mode 100755 gdb/testsuite/gdb.fortran/vla-type.f90
--
2.7.1.339.g0233b80