From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 63802 invoked by alias); 6 Apr 2016 09:58:15 -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 63782 invoked by uid 89); 6 Apr 2016 09:58:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=news X-HELO: mga11.intel.com Received: from mga11.intel.com (HELO mga11.intel.com) (192.55.52.93) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 06 Apr 2016 09:58:10 +0000 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 06 Apr 2016 02:58:09 -0700 X-ExtLoop1: 1 Received: from irvmail001.ir.intel.com ([163.33.26.43]) by fmsmga002.fm.intel.com with ESMTP; 06 Apr 2016 02:58:08 -0700 Received: from ulvlx001.iul.intel.com (ulvlx001.iul.intel.com [172.28.207.17]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id u369w6sm013334; Wed, 6 Apr 2016 10:58:06 +0100 Received: from ulvlx001.iul.intel.com (localhost [127.0.0.1]) by ulvlx001.iul.intel.com with ESMTP id u369w6hq019192; Wed, 6 Apr 2016 11:58:06 +0200 Received: (from heckel@localhost) by ulvlx001.iul.intel.com with œ id u369w5jC019188; Wed, 6 Apr 2016 11:58:05 +0200 From: Bernhard Heckel To: yao@codesourcery.com Cc: gdb-patches@sourceware.org, brobecker@adacore.com, Bernhard Heckel Subject: [PATCH V2 0/3] fortran: Enable arrays of structures with dynamic member types. Date: Wed, 06 Apr 2016 09:58:00 -0000 Message-Id: <1459936659-19039-1-git-send-email-bernhard.heckel@intel.com> X-IsSubscribed: yes X-SW-Source: 2016-04/txt/msg00118.txt.bz2 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