From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7200 invoked by alias); 1 Jul 2005 21:11:19 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 7190 invoked by uid 22791); 1 Jul 2005 21:11:16 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 01 Jul 2005 21:11:16 +0000 Received: from drow by nevyn.them.org with local (Exim 4.51) id 1DoSn5-0007aK-21; Fri, 01 Jul 2005 17:11:15 -0400 Date: Fri, 01 Jul 2005 21:11:00 -0000 From: Daniel Jacobowitz To: Parker James E Contr AFRL/HEDR Cc: "'gdb@sources.redhat.com'" Subject: Re: gdb and Fortran90 arrays Message-ID: <20050701211115.GA29139@nevyn.them.org> Mail-Followup-To: Parker James E Contr AFRL/HEDR , "'gdb@sources.redhat.com'" References: <6AC29D5306A1CD4AB6A168570B1176A40797B2E9@casino.brooks.af.mil> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6AC29D5306A1CD4AB6A168570B1176A40797B2E9@casino.brooks.af.mil> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-07/txt/msg00008.txt.bz2 On Fri, Jul 01, 2005 at 04:09:04PM -0500, Parker James E Contr AFRL/HEDR wrote: > I was wondering if anyone could help me decipher the output from gdb when > debugging Fortran90 code. Since gdb doesn't currently support Fortran90, it > defaults to a language format called "minimal", which is fine for most uses, > but for arrays the output is cryptic for me. Have you tried using CVS, and explicitly setting the language to fortran? > And you get a list that contains an offset, ecode, base and info. Can > anyone tell me what these things are? Ecode seems to represent the size of > each element in the array, but that's just a guess. The rest is some sort > of memory pointer, but I can't decipher it. Probably depends on your compiler; you didn't say which? They may be able to tell you more. -- Daniel Jacobowitz CodeSourcery, LLC