Handle additional connection error
authorLuis Machado <luis.machado@linaro.org>
Thu, 21 Jan 2021 19:09:07 +0000 (16:09 -0300)
committerLuis Machado <luis.machado@linaro.org>
Thu, 21 Jan 2021 20:18:23 +0000 (17:18 -0300)
commitcd211c75cb6c1ce751f1d00ba75682837e8c640f
tree7cf39e447577dd2ce9dbcc63a269c078b76602bf
parentd5d24e12f97e1db527a704d0f57e678d3552b55e
Handle additional connection error

On Ubuntu 18.04/20.04 I was running into annoying timeouts for
gdb.server/server-connect.exp. Those were caused by the ipv6 tests, because
they were running into the "Cannot assign requested address" error, originated
from the connect syscall.

Improve this by handling this additional error in the testsuite library.

It still fails for me, but at least it fails pretty quickly and doesn't make the
testsuite run take longer.

gdb/testsuite/ChangeLog:

2021-01-21  Luis Machado  <luis.machado@linaro.org>

* lib/gdbserver-support.exp (gdb_target_cmd_ext): Handle a new error
message.
gdb/testsuite/ChangeLog
gdb/testsuite/lib/gdbserver-support.exp