aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/gdb2384.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/gdb2384.exp
parent904d9b02a185c9048cf17bf7295b89d7380cea3d (diff)
downloadfsf-binutils-gdb-722c45960343adfadb41c0d154c4d43611828e32.zip
fsf-binutils-gdb-722c45960343adfadb41c0d154c4d43611828e32.tar.gz
fsf-binutils-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/gdb2384.exp')
-rw-r--r--gdb/testsuite/gdb.cp/gdb2384.exp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.cp/gdb2384.exp b/gdb/testsuite/gdb.cp/gdb2384.exp
index 46d93d2..7c6b27f 100644
--- a/gdb/testsuite/gdb.cp/gdb2384.exp
+++ b/gdb/testsuite/gdb.cp/gdb2384.exp
@@ -25,6 +25,8 @@ require allow_cplus_tests allow_shlib_tests
standard_testfile .cc gdb2384-base.cc
+include_file gdb2384-base.h
+
set sofile [standard_output_file gdb2384-base.so]
if { [gdb_compile_shlib $srcdir/$subdir/$srcfile2 $sofile {debug c++}] != ""