From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2946 invoked by alias); 4 Feb 2011 20:35:08 -0000 Received: (qmail 2876 invoked by uid 22791); 4 Feb 2011 20:35:07 -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,T_TO_NO_BRKTS_FREEMAIL 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; Fri, 04 Feb 2011 20:35:03 +0000 Received: by wyj26 with SMTP id 26so2794358wyj.0 for ; Fri, 04 Feb 2011 12:35:01 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.186.142 with SMTP id w14mr12846456wem.18.1296851701133; Fri, 04 Feb 2011 12:35:01 -0800 (PST) Received: by 10.216.160.9 with HTTP; Fri, 4 Feb 2011 12:35:01 -0800 (PST) Date: Fri, 04 Feb 2011 20:35:00 -0000 Message-ID: Subject: fortran multidimensional arrays and pointers From: Mathew Yeates To: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 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/msg00033.txt.bz2 Hi I see that multidimensional arrays are working fine. But I have a weird datatype double precision, dimension(:,:), pointer :: coefs and if I try and print state%instrument%ils(num)%coefs(1,1) I get incorrect values. (I also tried *(state%instrument%ils(num)%coefs(1,1)) but that didn't work either. Are fortran pointers supported? Mathew