Improve coverage of the PR threads/13217 regression test
authorPedro Alves <palves@redhat.com>
Thu, 13 Apr 2017 15:15:34 +0000 (16:15 +0100)
committerPedro Alves <palves@redhat.com>
Thu, 13 Apr 2017 15:18:16 +0000 (16:18 +0100)
commit5fd69d0ab2c42d2be0781bf3a5d60e1d5b8d05dc
treef72ab8b59b357d1c6d8842fd000810a25f808ff7
parentc6609450b33960a0e9f8c1df045b02f0677e866a
Improve coverage of the PR threads/13217 regression test

- Make sure we end up with no thread selected after the detach.

- Test both "thread apply all" and "thread apply $some_threads", for
  completeness.

gdb/ChangeLog:
2017-04-13  Pedro Alves  <palves@redhat.com>

PR threads/13217
* gdb.threads/threadapply.exp (thr_apply_detach): New procedure.
(top level): Call it twice, with different thread sets.
gdb/ChangeLog
gdb/testsuite/gdb.threads/threadapply.exp
This page took 0.028525 seconds and 4 git commands to generate.