aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/pr10728.exp
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2023-03-22 09:37:41 +0100
committerTom de Vries <tdevries@suse.de>2023-03-22 09:37:41 +0100
commit722c45960343adfadb41c0d154c4d43611828e32 (patch)
tree4e68a9bd9bc06fc0e5127c5b47f064be6014c5cf /gdb/testsuite/gdb.cp/pr10728.exp
parent904d9b02a185c9048cf17bf7295b89d7380cea3d (diff)
downloadgdb-722c45960343adfadb41c0d154c4d43611828e32.zip
gdb-722c45960343adfadb41c0d154c4d43611828e32.tar.gz
gdb-722c45960343adfadb41c0d154c4d43611828e32.tar.bz2
[gdb/testsuite] Fix gdb.cp/*.exp for remote host
Fix a few test-cases in gdb.cp/*.exp for remote host using new proc include_file. Tested on x86_64-linux.
Diffstat (limited to 'gdb/testsuite/gdb.cp/pr10728.exp')
-rw-r--r--gdb/testsuite/gdb.cp/pr10728.exp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.cp/pr10728.exp b/gdb/testsuite/gdb.cp/pr10728.exp
index b860fb7..ea9c124 100644
--- a/gdb/testsuite/gdb.cp/pr10728.exp
+++ b/gdb/testsuite/gdb.cp/pr10728.exp
@@ -22,6 +22,8 @@ require allow_cplus_tests
load_lib "cp-support.exp"
standard_testfile pr10728-x.cc pr10728-y.cc
+include_file pr10728-x.h
+
set tfx [standard_output_file pr10728-x.o]
set tfy [standard_output_file pr10728-y.o]