This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc]: Extend fortran testsuite
- From: Daniel Jacobowitz <drow at false dot org>
- To: Markus Deuling <deuling at de dot ibm dot com>
- Cc: GDB Patches <gdb-patches at sourceware dot org>, Ulrich Weigand <uweigand at de dot ibm dot com>
- Date: Fri, 21 Mar 2008 10:57:14 -0400
- Subject: Re: [rfc]: Extend fortran testsuite
- References: <47D502DC.4020501@de.ibm.com>
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