[gdb/testsuite] Fix gdb.guile/scm-objfile-script.exp for remote host
authorTom de Vries <tdevries@suse.de>
Wed, 29 Mar 2023 06:01:42 +0000 (08:01 +0200)
committerTom de Vries <tdevries@suse.de>
Wed, 29 Mar 2023 06:01:42 +0000 (08:01 +0200)
Fix test-case gdb.guile/scm-objfile-script.exp using host_standard_output_file.

Tested on x86_64-linux.

gdb/testsuite/gdb.guile/scm-objfile-script.exp

index 6a935d7926c0d4e8ca430c15b1917bccefc68aaa..dc390b6b9ec55e30d4381e635c0615e03b74fd5d 100644 (file)
@@ -31,7 +31,7 @@ if {[build_executable $testfile.exp $testfile $srcfile debug] == -1} {
 # gdb will find it.
 set remote_guile_file [remote_download host \
                           ${srcdir}/${subdir}/${testfile}-gdb.in \
-                          [standard_output_file ${testfile}-gdb.scm]]
+                          [host_standard_output_file ${testfile}-gdb.scm]]
 
 clean_restart
 gdb_test_no_output "set auto-load safe-path ${remote_guile_file}" \