This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
seriously broken fortran multi-dimensional arrays
- From: Mathew Yeates <mat dot yeates at gmail dot com>
- To: gdb at sourceware dot org
- Date: Thu, 16 Sep 2010 17:11:52 -0700
- Subject: seriously broken fortran multi-dimensional arrays
At a place in my code I do
(gdb) p Tau_mask(itau,imix)
$9 = .TRUE.
but if I print the value at the address corresponding to this I get
x/d 0x2850a40 + 4*(15*74 + 35)
0x2851c24: 0
.FALSE. is the correct value but .TRUE. gets printed.