[gdb/testsuite] Add missing include_file in gdb.dwarf/*.exp
authorTom de Vries <tdevries@suse.de>
Mon, 27 Mar 2023 11:58:09 +0000 (13:58 +0200)
committerTom de Vries <tdevries@suse.de>
Mon, 27 Mar 2023 11:58:09 +0000 (13:58 +0200)
gdb/testsuite/gdb.dwarf2/dw4-sig-types.exp
gdb/testsuite/gdb.dwarf2/fission-mix.exp
gdb/testsuite/gdb.dwarf2/locexpr-data-member-location.exp

index 06ce4906f0778e353cb1fe0325fc176781ecc02d..c08179fe5e958eca9a5da3fef6a8e5c71448e50a 100644 (file)
@@ -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.
index a396747714d4a55563b9233919e5715650f66fba..1e78de6990e666f7cd1bd90f516197aeb511c389 100644 (file)
@@ -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]
 
index a5b301e26fb3b8d1a02a928f548dda9cdf5d0351..5bdc3e49b1c30a20252a95d2bc8d666385748fd9 100644 (file)
@@ -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]