Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* seriously broken fortran multi-dimensional arrays
@ 2010-09-17  0:12 Mathew Yeates
  2010-09-17  0:13 ` Michael Snyder
  0 siblings, 1 reply; 2+ messages in thread
From: Mathew Yeates @ 2010-09-17  0:12 UTC (permalink / raw)
  To: gdb

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-09-17  0:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-17  0:12 seriously broken fortran multi-dimensional arrays Mathew Yeates
2010-09-17  0:13 ` Michael Snyder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox