public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/11104] New: gdb 7.0 does not print two dimensional Fortran arrays correctly.
@ 2009-12-17 18:42 at_gdb at mathalacarte dot com
  2010-01-26 16:09 ` [Bug fortran/11104] " at_gdb at mathalacarte dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: at_gdb at mathalacarte dot com @ 2009-12-17 18:42 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 14+ messages in thread
[parent not found: <bug-11104-4717@http.sourceware.org/bugzilla/>]

end of thread, other threads:[~2011-04-21 11:25 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-17 18:42 [Bug fortran/11104] New: gdb 7.0 does not print two dimensional Fortran arrays correctly at_gdb at mathalacarte dot com
2010-01-26 16:09 ` [Bug fortran/11104] " at_gdb at mathalacarte dot com
2010-05-31  9:49 ` fenixk19 at mail dot ru
2010-09-12 14:43 ` aburgess at broadcom dot com
2010-09-12 14:53 ` aburgess at broadcom dot com
2010-09-16  8:03 ` aburgess at broadcom dot com
2010-09-16  8:45 ` aburgess at broadcom dot com
     [not found] <bug-11104-4717@http.sourceware.org/bugzilla/>
2010-10-19  8:31 ` aburgess at broadcom dot com
2010-10-19 15:11 ` aburgess at broadcom dot com
2010-10-19 15:12 ` aburgess at broadcom dot com
2011-01-12 16:16 ` cvs-commit at gcc dot gnu.org
2011-01-12 16:22 ` jan.kratochvil at redhat dot com
2011-04-05 14:44 ` smirta at mail dot ru
2011-04-21 11:25 ` smirta at mail dot ru

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).