From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 55611 invoked by alias); 26 Apr 2016 15:04:40 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 55588 invoked by uid 89); 26 Apr 2016 15:04:38 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=H*RU:HELO, Hx-spam-relays-external:HELO, Hx-languages-length:2348 X-HELO: mga09.intel.com Received: from mga09.intel.com (HELO mga09.intel.com) (134.134.136.24) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 26 Apr 2016 15:04:28 +0000 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP; 26 Apr 2016 08:03:28 -0700 X-ExtLoop1: 1 Received: from heckel-mobl3.ger.corp.intel.com (HELO [172.28.205.63]) ([172.28.205.63]) by fmsmga001.fm.intel.com with ESMTP; 26 Apr 2016 08:03:26 -0700 Subject: [Pushed][PATCH V4 0/3] fortran: Enable arrays of structures with dynamic member types. References: <1460702519-30622-1-git-send-email-bernhard.heckel@intel.com> Cc: qiyaoltc@gmail.com, brobecker@adacore.com, eliz@gnu.org To: gdb-patches@sourceware.org From: Bernhard Heckel Message-ID: <571F833D.1070602@intel.com> Date: Tue, 26 Apr 2016 15:04:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <1460702519-30622-1-git-send-email-bernhard.heckel@intel.com> Content-Type: text/plain; charset="windows-1252"; format="flowed" Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2016-04/txt/msg00556.txt.bz2 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 fo= r 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 | 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 Bernhard Intel Deutschland GmbH Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany Tel: +49 89 99 8853-0, www.intel.de Managing Directors: Christin Eisenschmid, Christian Lamprechter Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich Commercial Register: Amtsgericht Muenchen HRB 186928