From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21587 invoked by alias); 17 Mar 2016 08:43:25 -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 21575 invoked by uid 89); 17 Mar 2016 08:43:25 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=Dynamic, gdbfortran, manipulation, gdb.fortran X-HELO: mga14.intel.com Received: from mga14.intel.com (HELO mga14.intel.com) (192.55.52.115) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 17 Mar 2016 08:43:24 +0000 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP; 17 Mar 2016 01:43:23 -0700 X-ExtLoop1: 1 Received: from irvmail001.ir.intel.com ([163.33.26.43]) by fmsmga002.fm.intel.com with ESMTP; 17 Mar 2016 01:43:22 -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 u2H8hKl0013663; Thu, 17 Mar 2016 08:43:20 GMT Received: from ulvlx001.iul.intel.com (localhost [127.0.0.1]) by ulvlx001.iul.intel.com with ESMTP id u2H8hKO0013448; Thu, 17 Mar 2016 09:43:20 +0100 Received: (from heckel@localhost) by ulvlx001.iul.intel.com with œ id u2H8hKoN013444; Thu, 17 Mar 2016 09:43:20 +0100 From: Bernhard Heckel To: brobecker@adacore.com Cc: gdb-patches@sourceware.org, Bernhard Heckel Subject: [PATCH 0/3] fortran: Enable arrays of structures with dynamic member types. Date: Thu, 17 Mar 2016 08:43:00 -0000 Message-Id: <1458204189-13267-1-git-send-email-bernhard.heckel@intel.com> X-SW-Source: 2016-03/txt/msg00289.txt.bz2 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