btrace: support to_stop
authorMarkus Metzger <markus.t.metzger@intel.com>
Wed, 19 Aug 2015 11:35:52 +0000 (13:35 +0200)
committerMarkus Metzger <markus.t.metzger@intel.com>
Fri, 18 Sep 2015 12:19:02 +0000 (14:19 +0200)
commit6e4879f0eb5ff1985d1040669a69675fadad53f8
treeb368bf7b23ff94f9796c31e3277a120aa76114bb
parent5953356cc4f2bcbf76e2979c35283c11ce0ba992
btrace: support to_stop

Add support for the to_stop target method to the btrace record target.

gdb/
* btrace.h (enum btrace_thread_flag) <BTHR_STOP>: New.
* record-btrace (record_btrace_resume_thread): Clear BTHR_STOP.
(record_btrace_find_thread_to_move): Also accept threads that have
BTHR_STOP set.
(btrace_step_stopped_on_request, record_btrace_stop): New.
(record_btrace_step_thread): Support BTHR_STOP.
(record_btrace_wait): Also clear BTHR_STOP when stopping other threads.
(init_record_btrace_ops): Initialize to_stop.
gdb/ChangeLog
gdb/btrace.h
gdb/record-btrace.c
This page took 0.024308 seconds and 4 git commands to generate.