This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [6/6] Fortran dynamic arrays #2: Fortran array testcase
- From: Markus Deuling <deuling at de dot ibm dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 11 Mar 2008 09:49:15 +0100
- Subject: Re: [6/6] Fortran dynamic arrays #2: Fortran array testcase
- References: <20071123234439.GG23460@host0.dyn.jankratochvil.net>
Jan Kratochvil schrieb:
Hi,
and a testcase for the Fortran dynamic arrays.
It requires the already patched gcc-4.3 to PASS.
Missing `g77' discussed at:
http://sources.redhat.com/ml/gdb-patches/2007-11/msg00327.html
The .TRUE. Fortran value parsing could get probably fixed by another patch
(workarounded in the testcase).
Regards,
Jan
Hi Jan,
I also saw cases when gfortran emitted wrong or incomplete debug data but it gets
better with 4.3.
Just a small comment to your testcase:
+if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug f77 quiet}] != "" } {
+ untested "Couldn't compile ${srcfile}"
+ return -1
+}
I'm not able to compile your .f90 testcase with f77. What I did is to invoke gfortran instead, hoping
4.3 gets better :-)
+if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug compiler=gfortran quiet}] != "" } {
+ untested "Couldn't compile ${srcfile}"
+ return -1
+}
Regards,
Markus
--
Markus Deuling
GNU Toolchain for Linux on Cell BE
deuling@de.ibm.com