btrace: resume all requested threads
authorMarkus Metzger <markus.t.metzger@intel.com>
Tue, 25 Aug 2015 11:42:39 +0000 (13:42 +0200)
committerMarkus Metzger <markus.t.metzger@intel.com>
Fri, 18 Sep 2015 12:24:25 +0000 (14:24 +0200)
commit0ca912dfef6289f9d2cd7d70b7ec80883a9b4395
tree55e9dd3f1a71029d681d93204aa16c354fe5751e
parente3cfc1c76d89f904659b106d78b352884797967b
btrace: resume all requested threads

The record targets are implicitly schedlocked.  They only step the current
thread and keep other threads where they are.

Change record btrace to step all requested threads in to_resume.

For maintenance and debugging, we keep the old behaviour when the target below
is not non-stop.  Enable with "maint set target-non-stop on".

gdb/
* record-btrace.c (record_btrace_resume_thread): A move request
overwrites a previous move request.
(record_btrace_find_resume_thread): Removed.
(record_btrace_resume): Resume all requested threads.
gdb/ChangeLog
gdb/record-btrace.c