Testcase for previous handle_no_resumed fixes
authorPedro Alves <pedro@palves.net>
Sat, 4 Jul 2020 18:26:59 +0000 (19:26 +0100)
committerPedro Alves <palves@redhat.com>
Fri, 10 Jul 2020 22:51:11 +0000 (23:51 +0100)
commit4fdba23df6d202b9d428818fc209e527797b576f
tree08078a1e0b8e6807d70aaebfacce6c19a6d107ae
parentd6cc5d980a902d273d424c49fc55e77757c3a05d
Testcase for previous handle_no_resumed fixes

This adds a testcase that covers the scenarios described in the
previous two commits.

gdb/testsuite/ChangeLog:

PR gdb/26199
* gdb.multi/multi-target.c (exit_thread): New.
(thread_start): Break loop if EXIT_THREAD.
* gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
(top level) Call test_no_resumed.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.multi/multi-target.c
gdb/testsuite/gdb.multi/multi-target.exp