From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 120080 invoked by alias); 8 Aug 2016 11:19:01 -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 117493 invoked by uid 89); 8 Aug 2016 11:18:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_50,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=H*r:sk:fmsmga1, Nicole, H*r:10.253.24, Chairperson X-HELO: mga01.intel.com Received: from mga01.intel.com (HELO mga01.intel.com) (192.55.52.88) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 08 Aug 2016 11:18:49 +0000 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 08 Aug 2016 04:18:47 -0700 X-ExtLoop1: 1 Received: from heckel-mobl3.ger.corp.intel.com (HELO [172.28.205.46]) ([172.28.205.46]) by fmsmga002.fm.intel.com with ESMTP; 08 Aug 2016 04:18:46 -0700 Subject: [PING][PATCH V3 0/6] Fortran: Resolve target types of pointers. To: qiyaoltc@gmail.com, brobecker@adacore.com References: <1468249928-2169-1-git-send-email-bernhard.heckel@intel.com> Cc: gdb-patches@sourceware.org From: Bernhard Heckel Message-ID: <57A86A95.4020600@intel.com> Date: Mon, 08 Aug 2016 11:19: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: <1468249928-2169-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-08/txt/msg00100.txt.bz2 On 11/07/2016 17:12, Bernhard Heckel wrote: > Addressed in V3: > - Don't resolve target types of pointers when resolving pointer types. > - Address pointers to dynamic types in C99 as well. > - Resolve dynamic target types of pointers when actual needed. > - Fix some type naming in Fortran testcases. > > > Addressed in V2: > - The type of the pointer should be known regardless it is > associated with target or not, [PATCH V2 1/5]. > - Removed [PATCH V1 1/3], moved tests to [PATCH V2 2/5]. > - Added tests to print derefenced pointers, [PATCH V2 2/5]. > - Fix address print of not allocated arrays/pointer to > not allocated types, [PATCH V2 4/5] > > Bernhard Heckel (6): > Fortran: Testsuite, fix differences in type naming. > Fortran: Resolve dynamic properties of pointer types. > Typeprint: Resolve any dynamic target type of a pointer. > Fortran: Typeprint, fix dangling types. > Resolve dynamic target types of pointers. > Fortran: Testsuite, add cyclic pointers. > > gdb/NEWS | 2 + > gdb/c-valprint.c | 22 +++++ > gdb/f-typeprint.c | 95 ++++++++++---------- > gdb/gdbtypes.c | 29 ++++++- > gdb/testsuite/gdb.cp/vla-cxx.cc | 9 ++ > gdb/testsuite/gdb.cp/vla-cxx.exp | 9 ++ > gdb/testsuite/gdb.fortran/pointers.exp | 143 ++++++++++++++++++++++++= +++++++ > gdb/testsuite/gdb.fortran/pointers.f90 | 109 +++++++++++++++++++++++ > gdb/testsuite/gdb.fortran/print_type.exp | 100 +++++++++++++++++++++ > gdb/testsuite/gdb.fortran/vla-ptype.exp | 12 +-- > gdb/testsuite/gdb.fortran/vla-type.exp | 7 +- > gdb/testsuite/gdb.fortran/vla-value.exp | 12 ++- > gdb/testsuite/gdb.mi/mi-var-child-f.exp | 7 +- > gdb/testsuite/gdb.mi/mi-vla-fortran.exp | 27 +++--- > gdb/typeprint.c | 19 ++++ > gdb/valops.c | 16 +++- > gdb/valprint.c | 6 -- > 17 files changed, 543 insertions(+), 81 deletions(-) > create mode 100644 gdb/testsuite/gdb.fortran/pointers.exp > create mode 100644 gdb/testsuite/gdb.fortran/pointers.f90 > create mode 100755 gdb/testsuite/gdb.fortran/print_type.exp > Ping PATCH V3 2-6/6 Patch V3 1/6was already reviewed. 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