This is the mail archive of the 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]

[Pushed][PATCH V4 0/3] fortran: Enable arrays of structures with dynamic member types.

On 15/04/2016 08:41, Bernhard Heckel wrote:
Addressed in V4:
[Patch V4 1/3]
* gdbtypes.c (resolve_dynamic_struct): extra pair of parens and rephrase comment.
   (remove_dynamic_property): Fix misspelled word.
   value.c (set_internal_var): Add comments.
Addressed in V3:
[Patch V3 1/3]
* value.c (value_address): Explicit compare against NULL.
   (set_value_component_location): Fix line too long.
   (set_value_component_location): Explicit compare against NULL.
   (clear_internalvar): Explicit compare against NULL.
   (set_internalvar): Fix line too long.
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

  gdb/NEWS                               |   3 +
  gdb/f-valprint.c                       | 118 +++++++++----------------
  gdb/gdbtypes.c                         |  44 +++++++++-
  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                            |  39 ++++++++-
  8 files changed, 387 insertions(+), 85 deletions(-)
  create mode 100755 gdb/testsuite/gdb.fortran/vla-type.exp
  create mode 100755 gdb/testsuite/gdb.fortran/vla-type.f90

Pushed the series.

Thanks for reviewing

Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0,
Managing Directors: Christin Eisenschmid, Christian Lamprechter
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]