seriously broken fortran multi-dimensional arrays

Mathew Yeates mat.yeates@gmail.com
Fri Sep 17 00:12:00 GMT 2010


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.



More information about the Gdb mailing list