[gdb/testsuite] Fix gdb.stabs/exclfwd.exp for remote host
authorTom de Vries <tdevries@suse.de>
Mon, 27 Mar 2023 16:06:19 +0000 (18:06 +0200)
committerTom de Vries <tdevries@suse.de>
Mon, 27 Mar 2023 16:06:19 +0000 (18:06 +0200)
Fix test-case gdb.stabs/exclfwd.exp for remote host using include_file.

Tested on x86_64-linux.

gdb/testsuite/gdb.stabs/exclfwd.exp

index 3548d0abac93d4483257521556f3659847b1ce45..e7ee9385919e630c8a4a1634d8f4ec593eb12789 100644 (file)
@@ -22,6 +22,8 @@
 
 standard_testfile exclfwd1.c exclfwd2.c
 
+include_file exclfwd.h
+
 if {[prepare_for_testing "failed to prepare" $testfile \
         [list $srcfile $srcfile2] debug]} {
     return -1