Patches to improve Fortran support

Michael Elizabeth Chastain mec@shout.net
Mon Jan 13 17:54:00 GMT 2003


Hi David,

> This solves a pretty major problem where an array is passed as a
> parameter to a function with an underspecified dimension (ie. real
> (10:*) ) because the * is translated to '-1' which then completely
> screws up the allocation of memory.

This is great, we have a longstanding PR on this:

  http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view&database=gdb&pr=3
  gdb segfaults associated with FORTRAN (g77) array arguments

I can review this patch later this week (Wednesday or Thursday).
Someone else might be able to get to it before then.

Do you have a copyright assignment on file with the Free Software
Foundation?

Andrew C, do you think that this patch is big enough that an
assignment is needed?

Michael C



More information about the Gdb-patches mailing list