This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]