[gdb/testsuite] Handle my-syscalls.h for remote host
authorTom de Vries <tdevries@suse.de>
Sat, 18 Mar 2023 09:30:16 +0000 (10:30 +0100)
committerTom de Vries <tdevries@suse.de>
Sat, 18 Mar 2023 09:30:16 +0000 (10:30 +0100)
commit424500e9a24c7da532ffd1b53b1b40fa019809de
treeff1a6607a81301758d02ef4631e5b1f6cc324364
parentf2259ae756e56e5e88c0eb53d2138536a56c21aa
[gdb/testsuite] Handle my-syscalls.h for remote host

Handle $srcdir/lib/my-syscalls.h using lappend_include_dir.

Tested on x86_64-linux.
gdb/testsuite/gdb.threads/step-over-exec.c
gdb/testsuite/gdb.threads/step-over-exec.exp