aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.xml
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2023-03-21 11:25:12 +0100
committerTom de Vries <tdevries@suse.de>2023-03-21 11:25:12 +0100
commit33ddd9fc4f36a2627ce55e9920df224556a8beef (patch)
tree8e09fa8d7ed8bdaca9dce43ae03403ae7144f86f /gdb/testsuite/gdb.xml
parent7c872c903c772ca6b269e5dbe2880dd084240ae6 (diff)
downloadfsf-binutils-gdb-33ddd9fc4f36a2627ce55e9920df224556a8beef.zip
fsf-binutils-gdb-33ddd9fc4f36a2627ce55e9920df224556a8beef.tar.gz
fsf-binutils-gdb-33ddd9fc4f36a2627ce55e9920df224556a8beef.tar.bz2
[gdb/testsuite] Fix gdb.xml/tdesc-reload.exp for remote host
Fix test-case gdb.xml/tdesc-reload.exp for remote host by using appropriate filenames. Tested on x86_64-linux.
Diffstat (limited to 'gdb/testsuite/gdb.xml')
-rw-r--r--gdb/testsuite/gdb.xml/tdesc-reload.exp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.xml/tdesc-reload.exp b/gdb/testsuite/gdb.xml/tdesc-reload.exp
index 21dede8..b8ece6f 100644
--- a/gdb/testsuite/gdb.xml/tdesc-reload.exp
+++ b/gdb/testsuite/gdb.xml/tdesc-reload.exp
@@ -29,9 +29,9 @@ if {![runto_main]} {
}
# Three files we're going to write out to.
-set xml_file_1 [standard_output_file outfile1.xml]
-set xml_file_2 [standard_output_file outfile2.xml]
-set xml_file_3 [standard_output_file outfile3.xml]
+set xml_file_1 [host_standard_output_file outfile1.xml]
+set xml_file_2 [host_standard_output_file outfile2.xml]
+set xml_file_3 [host_standard_output_file outfile3.xml]
# Write the current target description to a file.
gdb_test_no_output "pipe maint print xml-tdesc | cat > $xml_file_1" \