From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7706 invoked by alias); 6 Jul 2005 10:00:50 -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 7660 invoked by uid 22791); 6 Jul 2005 10:00:44 -0000 Received: from ausmtp01.au.ibm.com (HELO ausmtp01.au.ibm.com) (202.81.18.186) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 06 Jul 2005 10:00:44 +0000 Received: from sd0208e0.au.ibm.com (d23rh904.au.ibm.com [202.81.18.202]) by ausmtp01.au.ibm.com (8.12.10/8.12.10) with ESMTP id j66A3Cil307904 for ; Wed, 6 Jul 2005 20:03:15 +1000 Received: from d23av03.au.ibm.com (d23av03.au.ibm.com [9.190.250.244]) by sd0208e0.au.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id j66A3NXc122940 for ; Wed, 6 Jul 2005 20:03:26 +1000 Received: from d23av03.au.ibm.com (loopback [127.0.0.1]) by d23av03.au.ibm.com (8.12.11/8.13.3) with ESMTP id j66A0QKC028397 for ; Wed, 6 Jul 2005 20:00:27 +1000 Received: from [9.181.134.93] ([9.181.134.93]) by d23av03.au.ibm.com (8.12.11/8.12.11) with ESMTP id j66A0PGx028340; Wed, 6 Jul 2005 20:00:25 +1000 Date: Wed, 06 Jul 2005 10:00:00 -0000 From: Wu Zhou To: Parker James E Contr AFRL/HEDR cc: "'Bloch, Jack'" , "'gdb@sources.redhat.com'" Subject: RE: gdb and Fortran90 arrays In-Reply-To: <6AC29D5306A1CD4AB6A168570B1176A40797B313@casino.brooks.af.mil> Message-ID: References: <6AC29D5306A1CD4AB6A168570B1176A40797B313@casino.brooks.af.mil> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2005-07/txt/msg00035.txt.bz2 On Fri, 1 Jul 2005, Parker James E Contr AFRL/HEDR wrote: > Jack, > How do I use the offset and base information to determine what section of > memory to look at? The normal way for gdb to determine the memory address is to issue "p &x", but I doubt that if will work ok in this situation. Anyway you could have a try. And you also need to interpret the output yourself to Fortran's real type. - Wu Zhou