From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21984 invoked by alias); 15 Mar 2010 20:52:20 -0000 Received: (qmail 21972 invoked by uid 22791); 15 Mar 2010 20:52:19 -0000 X-SWARE-Spam-Status: No, hits=-7.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 15 Mar 2010 20:52:13 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o2FKppht019913 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 15 Mar 2010 16:51:51 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o2FKpoMs008647; Mon, 15 Mar 2010 16:51:50 -0400 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id o2FKpnD5025702; Mon, 15 Mar 2010 16:51:50 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id EC608378261; Mon, 15 Mar 2010 14:51:48 -0600 (MDT) From: Tom Tromey To: Joel Brobecker Cc: Chandru , gdb-patches@sourceware.org Subject: Re: gdb can't print array element for fortran References: <201003121836.24712.chandru@in.ibm.com> <20100315171325.GN3045@adacore.com> Reply-To: tromey@redhat.com Date: Mon, 15 Mar 2010 20:52:00 -0000 In-Reply-To: <20100315171325.GN3045@adacore.com> (Joel Brobecker's message of "Mon, 15 Mar 2010 10:13:25 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 X-SW-Source: 2010-03/txt/msg00562.txt.bz2 >>>>> "Joel" == Joel Brobecker writes: >> This mail pertains to the discussion had on gdb mailing list sometime >> back here http://sourceware.org/ml/gdb-patches/2009-01/msg00251.html. >> After a small discussion with Jan I made the following changes and >> these didn't seem to work. Any inputs or thoughts would be helpful. Joel> Does anyone else have an opinion on this patch. It looks wrong to me Joel> (sorry Chandru): Arrays with a high bound that's less than the low bound Joel> can exist, at least in Ada. It's just an empty array. Additionally, if the proposed changes don't actually work, I guess some other approach is needed anyhow. Joel> I haven't looked at Jan's work for the Fortran VLA stuff in a while, Joel> so I can't remember how he dealt with this issue. But I think his Joel> approach might be more correct. I too have lost track of this, but my impression is that Jan's current patch is rather larger. Tom