diff options
author | Markus Metzger <markus.t.metzger@intel.com> | 2015-08-19 13:35:52 +0200 |
---|---|---|
committer | Markus Metzger <markus.t.metzger@intel.com> | 2015-09-18 14:19:02 +0200 |
commit | 6e4879f0eb5ff1985d1040669a69675fadad53f8 (patch) | |
tree | b368bf7b23ff94f9796c31e3277a120aa76114bb /gprof/cg_print.c | |
parent | 5953356cc4f2bcbf76e2979c35283c11ce0ba992 (diff) | |
download | gdb-6e4879f0eb5ff1985d1040669a69675fadad53f8.zip gdb-6e4879f0eb5ff1985d1040669a69675fadad53f8.tar.gz gdb-6e4879f0eb5ff1985d1040669a69675fadad53f8.tar.bz2 |
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.
Diffstat (limited to 'gprof/cg_print.c')
0 files changed, 0 insertions, 0 deletions