From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31042 invoked by alias); 7 Sep 2016 10:29:20 -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 31025 invoked by uid 89); 7 Sep 2016 10:29:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=Kratochvil, kratochvil, Insufficient, H*RU:HELO 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; Wed, 07 Sep 2016 10:29:09 +0000 Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga101.fm.intel.com with ESMTP; 07 Sep 2016 03:29:08 -0700 X-ExtLoop1: 1 Received: from heckel-mobl3.ger.corp.intel.com (HELO [172.28.205.46]) ([172.28.205.46]) by fmsmga004.fm.intel.com with ESMTP; 07 Sep 2016 03:29:07 -0700 Subject: Re: [V4 00/21] Fortran dynamic array support To: Jan Kratochvil References: <88072818E0A3D742B2B1AF16BBEC65A7263E8FD9@IRSMSX107.ger.corp.intel.com> <20160716151310.GA14331@host1.jankratochvil.net> <20160716151837.GA797@host1.jankratochvil.net> <88072818E0A3D742B2B1AF16BBEC65A7263F0988@IRSMSX107.ger.corp.intel.com> <20160816135920.GA26624@host1.jankratochvil.net> <57B6D831.4080605@intel.com> <20160821170346.GA21909@host1.jankratochvil.net> <57BC50D1.4020102@intel.com> <20160825170626.GA29717@host1.jankratochvil.net> <57C9822F.1020800@intel.com> <20160904171453.GA1069@host1.jankratochvil.net> Cc: "Weinmann, Christoph T" , gdb-patches@sourceware.org From: Bernhard Heckel Message-ID: <57CFEBF2.1050707@intel.com> Date: Wed, 07 Sep 2016 10:29: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: <20160904171453.GA1069@host1.jankratochvil.net> Content-Type: text/plain; charset="windows-1252"; format="flowed" Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2016-09/txt/msg00071.txt.bz2 On 04/09/2016 19:14, Jan Kratochvil wrote: > On Fri, 02 Sep 2016 15:44:15 +0200, Bernhard Heckel wrote: >> dynamic properties in GDB is done via CORE_ADDR which is unsigned. >> This causes the issue that the type length seems to be way to big. > Maybe that explains also a regression visible only on i686 (32-bit host). > It still PASSes on x86_64 (64-bit host) with either native od 32-bit infe= rior > (-m32): > > The length is bogus (it is %rax or %eax) but it should be some number. > > i686: > ptype reg_string^M > type =3D char [variable length]^M > ^^^^^^^^^^^^^^^ > (gdb) FAIL: gdb.dwarf2/dw2-bound-loclist.exp: ptype reg_string > p reg_string^M > Insufficient memory in host GDB for object of size 4160138653 bytes, maxi= mum allowed 536870911 bytes.^M > > x86_64 or x86_64 -m32: > ptype reg_string^M > type =3D char [4160048541]^M > (gdb) PASS: gdb.dwarf2/dw2-bound-loclist.exp: ptype reg_string > > Attaching the Fedora testcase. > > > Thanks, > Jan Hi Jan, I just recreated my two user branches. - Fixed should be "Werror indentation" on the vla-string branch - Stride issues you reported in general (stride branch) - Stride issues on 32bit appl. running on 64bit system (gdb) (stride branch) - Fixed also neg. bounds on 32bit appl. running on 64bit system (stride=20 branch) Let me know your results for the two branches. 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