Re: gdb and Fortran90 arrays

'Daniel Jacobowitz'
2005-07-01T21:39:30Z

On Fri, Jul 01, 2005 at 04:29:13PM -0500, Parker James E Contr AFRL/HEDR wrote:
> Yes,
> If you mean attempt to
> (gdb) set language fortran
>
> gdb assumes you mean fortran77, and then complains that the array
> definitions are invalid -- doesn't like definitions that include Fortran90
> constructs like intent(in)
>
> But if you mean downloading the most current version of gdb from CVS, that I
> haven't tried. Currently, I'm using version 6.1 dated 20040607, I didn't
> see that 6.2 or 6.3 improved the Fortran90 support. Do you know of a fix
> that was implemented?

Sure. I don't think much Fortran90 support was added, but general
Fortran array access was recently fixed to not be treated as a function
call.

--
Daniel Jacobowitz
CodeSourcery, LLC