From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9453 invoked by alias); 24 Feb 2011 19:33:07 -0000 Received: (qmail 9443 invoked by uid 22791); 24 Feb 2011 19:33:06 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-wy0-f169.google.com (HELO mail-wy0-f169.google.com) (74.125.82.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 24 Feb 2011 19:33:02 +0000 Received: by wyi11 with SMTP id 11so1056180wyi.0 for ; Thu, 24 Feb 2011 11:33:00 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.47.19 with SMTP id s19mr6236325web.56.1298575971162; Thu, 24 Feb 2011 11:32:51 -0800 (PST) Received: by 10.216.160.9 with HTTP; Thu, 24 Feb 2011 11:32:51 -0800 (PST) In-Reply-To: <20110207193807.GA20569@host1.dyn.jankratochvil.net> References: <20110207193807.GA20569@host1.dyn.jankratochvil.net> Date: Thu, 24 Feb 2011 19:33:00 -0000 Message-ID: Subject: Re: fortran multidimensional arrays and pointers From: Mathew Yeates To: Jan Kratochvil Cc: Tom Tromey , gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-02/txt/msg00139.txt.bz2 Okay. I'll bite. Why is this not yet merged in FSF GDB? I find myself using different versions of gdb depending on what I want to do. -Mathew On Mon, Feb 7, 2011 at 11:38 AM, Jan Kratochvil wrote: > On Mon, 07 Feb 2011 19:48:02 +0100, Mathew Yeates wrote: >> >print some_ints(1) >> 0 >> >print some_ints(2) >> -1 > > 6 =A0 =A0 =A0 =A0 =A0 =A0 write(*,*) some_ints(1) > (gdb) p some_ints(1) > $1 =3D 1 > (gdb) p some_ints(2) > $2 =3D 2 > > It works on both: > =A0 =A0 =A0 =A0http://sourceware.org/gdb/wiki/ArcherBranchManagement > =A0 =A0 =A0 =A0-> archer-jankratochvil-vla > and > =A0 =A0 =A0 =A0gdb-7.2-36.fc14 (Fedora 14) > > That this archer branch is not yet merged in FSF GDB is another issue. > > > Regards, > Jan >