From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23233 invoked by alias); 23 Nov 2011 06:36:06 -0000 Received: (qmail 23053 invoked by uid 22791); 23 Nov 2011 06:36:04 -0000 X-SWARE-Spam-Status: No, hits=4.5 required=5.0 tests=AWL,BAYES_20,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_NX X-Spam-Check-By: sourceware.org Received: from mail-fx0-f41.google.com (HELO mail-fx0-f41.google.com) (209.85.161.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 23 Nov 2011 06:35:42 +0000 Received: by faas10 with SMTP id s10so1593287faa.0 for ; Tue, 22 Nov 2011 22:35:41 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.113.142 with SMTP id a14mr1129204ebq.92.1322030141379; Tue, 22 Nov 2011 22:35:41 -0800 (PST) Received: by 10.213.23.6 with HTTP; Tue, 22 Nov 2011 22:35:41 -0800 (PST) Date: Wed, 23 Nov 2011 06:36:00 -0000 Message-ID: Subject: archergdb can't use output command to print Fortran allocatable arrays From: xunxun To: gdb@sourceware.org Content-Type: text/plain; charset=UTF-8 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-11/txt/msg00105.txt.bz2 Hi, all I don't know what email list can be written about the archergdb brach archer-jankratochvil-vl, so I email to gdb directly. When I use archergdb to print Fortran allocatable arrays, I found that I can't use the output command: for example, program main implicit none integer :: aaa=1 real(8) :: bbb=3.d0 real(8), allocatable :: ccc(:,:) allocate(ccc(4,5)) ccc=3.4 write(*,*) "Hello World!" deallocate(ccc) stop end program main break after ccc=3.4 run If I type 1) p ccc $3 = (( 3.4000000953674316, 3.4000000953674316, 3.4000000953674316, 3.4000000953674316) ( 3.4000000953674316, 3.4000000953674316, 3.4000000953674316, 3.4000000953674316) ( 3.4000000953674316, 3.4000000953674316, 3.4000000953674316, 3.4000000953674316) ( 3.4000000953674316, 3.4000000953674316, 3.4000000953674316, 3.4000000953674316) ( 3.4000000953674316, 3.4000000953674316, 3.4000000953674316, 3.4000000953674316) ) 2) pt ccc type = real(kind=8) (4,5) 3) whatis ccc type = real(kind=8) (4,5) 4) output ccc Cannot resolve DW_OP_push_object_address for a missing object It's obviours wrong when using the output command. Can this issure be fixed? Thanks. -- Best Regards, xunxun