Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* fortran multidimensional arrays and pointers
@ 2011-02-04 20:35 Mathew Yeates
  2011-02-07 16:23 ` Tom Tromey
  0 siblings, 1 reply; 8+ messages in thread
From: Mathew Yeates @ 2011-02-04 20:35 UTC (permalink / raw)
  To: gdb

Hi
I see that multidimensional arrays are working fine. But I have a weird datatype

double precision, dimension(:,:), pointer :: coefs

and if I try and print
state%instrument%ils(num)%coefs(1,1)

I get incorrect values. (I also tried
*(state%instrument%ils(num)%coefs(1,1)) but that didn't work either.

Are fortran pointers supported?

Mathew


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

end of thread, other threads:[~2011-03-03 17:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-04 20:35 fortran multidimensional arrays and pointers Mathew Yeates
2011-02-07 16:23 ` Tom Tromey
2011-02-07 18:48   ` Mathew Yeates
2011-02-07 19:38     ` Jan Kratochvil
2011-02-24 19:33       ` Mathew Yeates
2011-03-02 15:57         ` Jan Kratochvil
2011-03-03 17:24           ` Tom Tromey
2011-03-03 17:43             ` Jan Kratochvil

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