[gdb/testsuite] Fix gdb.base/info-types-c++.exp with stressed cpu
authorTom de Vries <tdevries@suse.de>
Fri, 8 Oct 2021 22:40:46 +0000 (00:40 +0200)
committerTom de Vries <tdevries@suse.de>
Fri, 8 Oct 2021 22:40:46 +0000 (00:40 +0200)
commitb886031bd2bb19b304c3d14594bfc8a4107a6c28
tree486babb52f5d28ad2fee63a1b547a01d3b7e8c2b
parent048cb8b4666f8bb93649a1e0b4b8889b1e5f8073
[gdb/testsuite] Fix gdb.base/info-types-c++.exp with stressed cpu

When running test-case gdb.base/info-types-c++.exp in conjunction with:
...
$ stress -c $(($(cat /proc/cpuinfo | grep -c "^processor") + 1))
...
we get:
...
FAIL: gdb.base/info-types-c++.exp: info types (timeout)
...

Fix this by setting auto-solib-add to off.

Tested on x86_64-linux.
gdb/testsuite/gdb.base/info-types.exp.tcl