aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2023-03-29 08:01:42 +0200
committerTom de Vries <tdevries@suse.de>2023-03-29 08:01:42 +0200
commit7eb59fa25616b947ae6c5f30a06bdabdd97fff72 (patch)
tree79f35aac5b08323165edd68fdb07910dff2422ef
parenteb338e57ce46be624dbc7c93517849d631581e6d (diff)
downloadgdb-7eb59fa25616b947ae6c5f30a06bdabdd97fff72.zip
gdb-7eb59fa25616b947ae6c5f30a06bdabdd97fff72.tar.gz
gdb-7eb59fa25616b947ae6c5f30a06bdabdd97fff72.tar.bz2
[gdb/testsuite] Fix gdb.guile/scm-objfile-script.exp for remote host
Fix test-case gdb.guile/scm-objfile-script.exp using gdb_remote_download. Tested on x86_64-linux.
-rw-r--r--gdb/testsuite/gdb.guile/scm-objfile-script.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.guile/scm-objfile-script.exp b/gdb/testsuite/gdb.guile/scm-objfile-script.exp
index dc390b6..89abc38 100644
--- a/gdb/testsuite/gdb.guile/scm-objfile-script.exp
+++ b/gdb/testsuite/gdb.guile/scm-objfile-script.exp
@@ -29,9 +29,9 @@ if {[build_executable $testfile.exp $testfile $srcfile debug] == -1} {
# Make the -gdb.scm script available to gdb, it is automagically loaded by gdb.
# Care is taken to put it in the same directory as the binary so that
# gdb will find it.
-set remote_guile_file [remote_download host \
+set remote_guile_file [gdb_remote_download host \
${srcdir}/${subdir}/${testfile}-gdb.in \
- [host_standard_output_file ${testfile}-gdb.scm]]
+ ${testfile}-gdb.scm]
clean_restart
gdb_test_no_output "set auto-load safe-path ${remote_guile_file}" \