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]

no such vector element


I am getting this error when I try and access a fortran array.

>p Opt_depth_ref_per_band(2,2)
no such vector element

Opt_depth_ref_per_band is an array with 4 rows and 74 columns.

It is declared as
real,    intent(out), dimension(NBAND, Num_mixture) :: &
      	   Opt_depth_ref_per_band

Where NBAND is a constant and Num_mixture is an argument to the subroutine.

I can print values by using x/f on the array address.

Any ideas?

-Mathew


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