-gdb@gnu.org
Subject: Re: Can't Print Two Dimensional Array Element for Fortran
On Fri, Apr 23, 2010 at 08:22:40PM -0500, lylelyle wrote:
No, I can't do this in gdb.
(gdb) print a(4)
Wrong number of subscripts
(gdb) print a(6,1)
no such vector element
lyle
I'm
On Fri, Apr 23, 2010 at 08:22:40PM -0500, lylelyle wrote:
No, I can't do this in gdb.
(gdb) print a(4)
Wrong number of subscripts
(gdb) print a(6,1)
no such vector element
lyle
I'm, quite sorry. As gdb relies on language features, you might either examine
the memory directly
On Sun, Mar 28, 2010 at 10:50:38PM -0500, lyle lyle wrote:
Hi Guys,
I write code in Fortran and found that I couldn't print an element's value
if the element wasn't in the first column. For example,
There is an array A and its size is 5x3. In gdb, I can get its first column
elements'