public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH V2 0/3] fortran: Enable arrays of structures with dynamic member types.
@ 2016-04-06  9:58 Bernhard Heckel
  2016-04-06  9:58 ` [PATCH V2 1/3] fort_dyn_array: Enable dynamic member types inside a structure Bernhard Heckel
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Bernhard Heckel @ 2016-04-06  9:58 UTC (permalink / raw)
  To: yao; +Cc: gdb-patches, brobecker, Bernhard Heckel

Addressed in V2:
* Commit-Msg: Added missing changes and added some more comments.
* NEWS: Added new fortran features.
* gdbtypes.c (several comments): Two blanks after dot.
  (resolve_dynamic_struct): Changed comment why length is not changed for fortran.
* valarith.c (value_subscripted_rvalue): Replace variable by NULL.

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/NEWS                               |   3 +
 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                         |   8 ++
 gdb/value.c                            |  35 +++++++-
 8 files changed, 382 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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-04-14 13:45 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-06  9:58 [PATCH V2 0/3] fortran: Enable arrays of structures with dynamic member types Bernhard Heckel
2016-04-06  9:58 ` [PATCH V2 1/3] fort_dyn_array: Enable dynamic member types inside a structure Bernhard Heckel
2016-04-07 16:19   ` Yao Qi
2016-04-07 16:26   ` Yao Qi
2016-04-08  6:13     ` Heckel, Bernhard
2016-04-14 13:45   ` Joel Brobecker
2016-04-06  9:58 ` [PATCH V2 3/3] fort_dyn_array: Use value constructor instead of raw-buffer manipulation Bernhard Heckel
2016-04-07 16:22   ` Yao Qi
2016-04-06  9:58 ` [PATCH V2 2/3] fort_dyn_array: Support evaluation of dynamic elements inside arrays Bernhard Heckel
2016-04-07 16:21   ` Yao Qi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).