This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: gdb and Fortran90 arrays
- From: 'Daniel Jacobowitz' <drow at false dot org>
- To: Parker James E Contr AFRL/HEDR <James dot Parker dot ctr at brooks dot af dot mil>
- Cc: "'gdb at sources dot redhat dot com'" <gdb at sources dot redhat dot com>
- Date: Fri, 1 Jul 2005 17:39:27 -0400
- Subject: Re: gdb and Fortran90 arrays
- References: <6AC29D5306A1CD4AB6A168570B1176A40797B30F@casino.brooks.af.mil>
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