This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfc]: Extend fortran testsuite


On Mon, Mar 10, 2008 at 10:43:56AM +0100, Markus Deuling wrote:
> As I'm not a fortran guru it would be great if one could have a look at the tests.
> Is this ok to commit?

I barely even know Fortran, but no one else responded.  This is mostly
OK.

The only problem I saw was compiler=gfortran.  That hardcodes the name
of the compiler and nothing can override it, so it will break all
cross testing (foo-elf-gfortran).

See the replacement for gdb_default_target_compile in lib/ada.exp for
an example.  We'll have to share that code for gfortran too somehow.
Or just override find_g77 to prefer gfortran.

> 	* gdb.fortran/array-constr.{f95, exp}: New fortran testcase to test
> 	array constructors and field access.

Don't abbreviate filenames in changelog entries, please.  And add a
copyright notice to the f95 file.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]