From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7456 invoked by alias); 17 Dec 2009 18:42:47 -0000 Received: (qmail 7442 invoked by uid 48); 17 Dec 2009 18:42:47 -0000 Date: Thu, 17 Dec 2009 18:42:00 -0000 From: "at_gdb at mathalacarte dot com" To: gdb-prs@sourceware.org Message-ID: <20091217184247.11104.at_gdb@mathalacarte.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug fortran/11104] New: gdb 7.0 does not print two dimensional Fortran arrays correctly. X-Bugzilla-Reason: CC Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2009-q4/txt/msg00353.txt.bz2 I was not able to find how to find the triplets requested when running on a Gentoo Linux system. Running uname -a gives Linux mon 2.6.32-gentoo #1 SMP Thu Dec 3 13:59:59 PST 2009 x86_64 AMD Opteron(tm) Processor 242 AuthenticAMD GNU/Linux Try this Fortran code ==== program test c Testing gdb for printing arrays double precision C(4,4) do J = 1, 4 do I = 1, 4 C(I,J) = dble(I+J) end do end do print '(''C(1,1), C(4,4):'', 1P, 2E12.5)', C(1,1), C(4,4) stop end ====== gfortran -ggdb -o test test.f gdb test b 9 r p c(1,2) And I get no such vector element -- Summary: gdb 7.0 does not print two dimensional Fortran arrays correctly. Product: gdb Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: fortran AssignedTo: unassigned at sourceware dot org ReportedBy: at_gdb at mathalacarte dot com CC: gdb-prs at sourceware dot org http://sourceware.org/bugzilla/show_bug.cgi?id=11104 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.