aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2023-03-27 13:58:09 +0200
committerTom de Vries <tdevries@suse.de>2023-03-27 13:58:09 +0200
commit88fc1be26acbd83afed2eb8fc7e364cd45447ba3 (patch)
tree2086edb4cef054a36339f98f4860f1c0300998a7
parent2b3f4c0616abffb2a1a29543cb649483b1722db4 (diff)
downloadbinutils-88fc1be26acbd83afed2eb8fc7e364cd45447ba3.zip
binutils-88fc1be26acbd83afed2eb8fc7e364cd45447ba3.tar.gz
binutils-88fc1be26acbd83afed2eb8fc7e364cd45447ba3.tar.bz2
[gdb/testsuite] Add missing include_file in gdb.dwarf/*.exp
-rw-r--r--gdb/testsuite/gdb.dwarf2/dw4-sig-types.exp2
-rw-r--r--gdb/testsuite/gdb.dwarf2/fission-mix.exp2
-rw-r--r--gdb/testsuite/gdb.dwarf2/locexpr-data-member-location.exp1
3 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/dw4-sig-types.exp b/gdb/testsuite/gdb.dwarf2/dw4-sig-types.exp
index 06ce490..c08179f 100644
--- a/gdb/testsuite/gdb.dwarf2/dw4-sig-types.exp
+++ b/gdb/testsuite/gdb.dwarf2/dw4-sig-types.exp
@@ -17,6 +17,8 @@
standard_testfile .cc -b.cc
+include_file dw4-sig-types.h
+
# This test is intended for targets which support DWARF-4.
# Since we pass an explicit -gdwarf-4 -fdebug-types-section to the compiler,
# we let that be the test of whether the target supports it.
diff --git a/gdb/testsuite/gdb.dwarf2/fission-mix.exp b/gdb/testsuite/gdb.dwarf2/fission-mix.exp
index a396747..1e78de6 100644
--- a/gdb/testsuite/gdb.dwarf2/fission-mix.exp
+++ b/gdb/testsuite/gdb.dwarf2/fission-mix.exp
@@ -19,6 +19,8 @@ load_lib dwarf.exp
require dwarf2_support
standard_testfile .c -2.c
+include_file fission-mix.h
+
set objfile [standard_output_file ${testfile}.o]
set objfile2 [standard_output_file ${testfile}2.o]
diff --git a/gdb/testsuite/gdb.dwarf2/locexpr-data-member-location.exp b/gdb/testsuite/gdb.dwarf2/locexpr-data-member-location.exp
index a5b301e..5bdc3e4 100644
--- a/gdb/testsuite/gdb.dwarf2/locexpr-data-member-location.exp
+++ b/gdb/testsuite/gdb.dwarf2/locexpr-data-member-location.exp
@@ -67,6 +67,7 @@ set lib_basename ${::gdb_test_file_name}-lib
# which will be ${srcfile3} after the execution of standard_testfile.
standard_testfile $main_basename.c $lib_basename.c $lib_basename.S
+include_file locexpr-data-member-location.h
set libsrc "${::srcdir}/${::subdir}/${::srcfile2}"
set lib_so [standard_output_file ${lib_basename}.so]