diff options
author | Markus Metzger <markus.t.metzger@intel.com> | 2015-09-08 16:13:47 +0200 |
---|---|---|
committer | Markus Metzger <markus.t.metzger@intel.com> | 2015-09-18 14:17:41 +0200 |
commit | 5953356cc4f2bcbf76e2979c35283c11ce0ba992 (patch) | |
tree | 053352eaa55a5022296f583a149370c97d493aa7 /gdb/objfiles.c | |
parent | 7ae4ea7d0db5228d8978d52bebac2b1d95a78560 (diff) | |
download | gdb-5953356cc4f2bcbf76e2979c35283c11ce0ba992.zip gdb-5953356cc4f2bcbf76e2979c35283c11ce0ba992.tar.gz gdb-5953356cc4f2bcbf76e2979c35283c11ce0ba992.tar.bz2 |
btrace: fix non-stop check in to_wait
The record btrace target stops other threads in non-stop mode after stepping
the to-be-resumed thread.
The check is done on the non_stop variable. It should rather be done on
target_is_non_stop_p (). With all-stop on top of non-stop, infrun will
take care of stopping other threads.
gdb/
* record-btrace.c (record_btrace_wait): Replace non_stop check with
target_is_non_stop_p ().
Diffstat (limited to 'gdb/objfiles.c')
0 files changed, 0 insertions, 0 deletions