Does anyone know how in the ddd visual debugger to examine arrays (and
slices thereof) that are passed as Fortran subroutine arguments?
(gdb) print cfn
(PTR TO -> ( real*4 (1))) 0x88610d0
isn't very helpful. I should add that these arrays are created using
the DYNAMIC_MEMORY function, the Figaro way of avoiding %VAL().
I tried displaying a plot to no avail. Scalar values are accessible by
placing the pointer over an instance of the variable in the source
listing.
Without being able to examine the array it's messy to find out what's
going wrong in IARC.
There's some dodgy coding where an array is passed both as an input
and output argument to a scaling routine one subroutine call before
IARC crashes in jty_findpeak. The jty library is full of obscure
traps/clever programming.
Malcolm
|