This fixes some parallelization thinkos from a while ago. I'm not
sure how the problems ever slipped through. In addition to a thinko
fix in twice.exp, this also finishes fixing it up for parallelization.
2013-11-04 Tom Tromey <tromey@redhat.com>
* gdb.base/gcore-buffer-overflow.exp: Use
standard_output_file, not standard_testfile.
* gdb.base/twice.exp: Use standard_testfile, not
standard_output_file. Use gdb_remote_download.
+2013-11-04 Tom Tromey <tromey@redhat.com>
+
+ * gdb.base/gcore-buffer-overflow.exp: Use
+ standard_output_file, not standard_testfile.
+ * gdb.base/twice.exp: Use standard_testfile, not
+ standard_output_file. Use gdb_remote_download.
+
2013-11-04 Tom Tromey <tromey@redhat.com>
* lib/gdb.exp (get_compiler_info): Use log_file -info and
return -1
}
-gdb_gcore_cmd [standard_testfile gcore-buffer-overflow.test] "save a corefile"
+gdb_gcore_cmd [standard_output_file gcore-buffer-overflow.test] \
+ "save a corefile"
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-standard_output_file twice.c
+standard_testfile twice.c
set options debug
lappend options "additional_flags=-I."
puts $fileid "#include \"twice.c\""
close $fileid
-remote_download host ${srcdir}/${subdir}/twice.c twice.c
+gdb_remote_download host ${srcdir}/${subdir}/twice.c
if { [gdb_compile $local_srcfile "${binfile}" executable $options] != "" } {
untested twice.exp