[gdb/testsuite] Handle attributes.h for remote host
authorTom de Vries <tdevries@suse.de>
Sat, 18 Mar 2023 09:16:30 +0000 (10:16 +0100)
committerTom de Vries <tdevries@suse.de>
Sat, 18 Mar 2023 09:16:30 +0000 (10:16 +0100)
commitf2259ae756e56e5e88c0eb53d2138536a56c21aa
tree9dc3a33f421f6b4aa2a18c64bdb3ed6327332eab
parent9e4b2a6697006f9ff39bce13edd640330e208c9f
[gdb/testsuite] Handle attributes.h for remote host

Handle $srcdir/lib/attributes.h using lappend_include_dir.

Tested on x86_64-linux.
15 files changed:
gdb/testsuite/gdb.base/backtrace.c
gdb/testsuite/gdb.base/backtrace.exp
gdb/testsuite/gdb.base/frame-info-consistent.exp
gdb/testsuite/gdb.base/infcall-nested-structs.c
gdb/testsuite/gdb.base/infcall-nested-structs.exp.tcl
gdb/testsuite/gdb.base/stap-probe.c
gdb/testsuite/gdb.base/stap-probe.exp
gdb/testsuite/gdb.base/vla-optimized-out.c
gdb/testsuite/gdb.base/vla-optimized-out.exp
gdb/testsuite/gdb.cp/cold-clone.cc
gdb/testsuite/gdb.cp/cold-clone.exp
gdb/testsuite/gdb.dwarf2/dyn-type-unallocated.c
gdb/testsuite/gdb.dwarf2/dyn-type-unallocated.exp
gdb/testsuite/gdb.python/tui-window-disabled.c
gdb/testsuite/gdb.python/tui-window-disabled.exp