diff options
author | Alan Hayward <alan.hayward@arm.com> | 2019-03-28 12:33:29 +0000 |
---|---|---|
committer | Alan Hayward <alan.hayward@arm.com> | 2019-03-28 15:00:30 +0000 |
commit | c92df149c29518f6e1d4a3174b3e29162fcd3ad6 (patch) | |
tree | c9ba3b09d5c4822626c6fefdd017055c318485b1 /gdb/mi | |
parent | cd5b60741993f9e075d3f2492e2251da5bdf260f (diff) | |
download | gdb-c92df149c29518f6e1d4a3174b3e29162fcd3ad6.zip gdb-c92df149c29518f6e1d4a3174b3e29162fcd3ad6.tar.gz gdb-c92df149c29518f6e1d4a3174b3e29162fcd3ad6.tar.bz2 |
Testsuite: set sysroot when using gdbserver
When testing using native-gdbserver and native-extended-gdbserver, the sysroot
is not set. This results in a warning from GDB and files are sent via the
remote protocol, which can be slow.
On Ubuntu 18.04 (unlike most distros) the debug versions of the standard
libraries are included by default in /usr/lib/debug/.
These file reads are causing a complete native-gdbserver run on the AArch64
buildbot slave to timeout after 2.5 hours. This is also causing the builds
to back up on the slave.
The solution is to ensure the sysroot is set to / for all local boards.
This drastically reduces the time of a test. For example, gdb.base/sigall.exp
drops from 23 seconds to 4 seconds.
A full native-gdbserver run on the AArch64 slave now takes 8 minutes.
gdb/testsuite/ChangeLog:
* boards/local-board.exp: set sysroot to /.
Diffstat (limited to 'gdb/mi')
0 files changed, 0 insertions, 0 deletions