+2021-06-11 Felix Willgerodt <felix.willgerodt@intel.com>
+
+ * gdb.mi/array.f: Convert into...
+ * gdb.mi/array.f90: ...this.
+ * gdb.mi/mi-var-child-f.exp: Use array.f90.
+
2021-06-11 Tom Tromey <tom@tromey.com>
PR rust/23427
+++ /dev/null
-c Copyright 2006-2021 Free Software Foundation, Inc.
-
-c This program is free software; you can redistribute it and/or modify
-c it under the terms of the GNU General Public License as published by
-c the Free Software Foundation; either version 3 of the License, or
-c (at your option) any later version.
-c
-c This program is distributed in the hope that it will be useful,
-c but WITHOUT ANY WARRANTY; without even the implied warranty of
-c MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-c GNU General Public License for more details.
-c
-c You should have received a copy of the GNU General Public License
-c along with this program. If not, see <http://www.gnu.org/licenses/>.
-
- INTEGER array(1:2,-1:1)
- DATA array/11,21,12,22,13,23/
- CONTINUE
- STOP
- END
--- /dev/null
+! Copyright 2006-2021 Free Software Foundation, Inc.
+
+! This program is free software; you can redistribute it and/or modify
+! it under the terms of the GNU General Public License as published by
+! the Free Software Foundation; either version 3 of the License, or
+! (at your option) any later version.
+!
+! This program is distributed in the hope that it will be useful,
+! but WITHOUT ANY WARRANTY; without even the implied warranty of
+! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+! GNU General Public License for more details.
+!
+! You should have received a copy of the GNU General Public License
+! along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+program prog_array
+ INTEGER array (1:2,-1:1)
+ DATA array/11,21,12,22,13,23/
+ CONTINUE
+ STOP
+end program prog_array
continue
}
-standard_testfile array.f
+standard_testfile array.f90
if {[gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" \
executable {debug f90}] != ""} {
mi_gdb_reinitialize_dir $srcdir/$subdir
mi_gdb_load ${binfile}
-mi_runto [fortran_main]
+mi_runto prog_array
mi_create_varobj "array" "array" "create local variable array"