]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Testsuite: Add gdbserver sysroot test
authorAlan Hayward <alan.hayward@arm.com>
Mon, 8 Apr 2019 15:02:55 +0000 (16:02 +0100)
committerAlan Hayward <alan.hayward@arm.com>
Fri, 12 Apr 2019 10:37:24 +0000 (11:37 +0100)
commite5a1a79a4e0ee33292d45b10a759eb41f7358b7c
treea9e38668d1ea376f44ae3a9225fad69d8619d450
parent62253a61473764b0d084b01eff06a93fb38bb2e3
Testsuite: Add gdbserver sysroot test

The local board file ensures that the sysroot is always set to load
files from the local filesystem.

Add a gdbserver test to explicitly test the sysroot set to both the
remote target and the local filesystem.

gdb/testsuite/ChangeLog:

* gdb.server/sysroot.c: New test.
* gdb.server/sysroot.exp: New file.
* lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
        matching param.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.server/sysroot.c [new file with mode: 0644]
gdb/testsuite/gdb.server/sysroot.exp [new file with mode: 0644]
gdb/testsuite/lib/gdbserver-support.exp