[gdb/testsuite] Fix gdb.threads/fork-plus-threads.exp timeout with check-run1
authorTom de Vries <tdevries@suse.de>
Thu, 1 Aug 2019 08:48:11 +0000 (10:48 +0200)
committerTom de Vries <tdevries@suse.de>
Thu, 1 Aug 2019 08:48:11 +0000 (10:48 +0200)
commit59bd512b9c54c6fa2bd951cd10a1ca1e6ffb3dcf
tree8aa02d0ab18b96af97940904a538e980c3177664
parent2a3ad588e0758bc2c753dfa216c344036e5a22bc
[gdb/testsuite] Fix gdb.threads/fork-plus-threads.exp timeout with check-run1

With gdb.threads/fork-plus-threads.exp and check-run1 we get:
...
FAIL: gdb.threads/fork-plus-threads.exp: detach-on-fork=off: \
  inferior 1 exited (timeout)
...

Fix this by calling exp_continue for new thread and thread exited messages.

Tested on x86_64-linux.

gdb/testsuite/ChangeLog:

2019-08-01  Tom de Vries  <tdevries@suse.de>

PR testsuite/24863
* gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
calling exp_continue for new thread and thread exited messages.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.threads/fork-plus-threads.exp