On Wed, 21 Apr 2004, Malcolm J. Currie wrote:
> > > Are there Fortran-friendly visual debuggers out there for Linux?
> > > Having one is essential for debugging dusty-deck Figaro code.
> >
> > Fortran is too much of a backwater for GNU/Linux, so tough and no to these
> > questions. If you want good support you'll need to head back to Solaris
> > and s/w we pay for.
>
> Then if it's only failing on Linux and its more rigid compiler, I'm
> stuffed.
>
> > Did the "print array[0]@2" technique work for you?
>
> No.
>
>
> (gdb) print array0[0]@2
> A parse error in expression, near `[0]@2'.
You didn't switch language to C:
(gdb) set lang c
(gdb) print array[0]@2
$1 = {{1}, {2}}
so there's hope yet (or maybe even some write statements to fall back on).
Peter.
|