diff options
author | Markus Metzger <markus.t.metzger@intel.com> | 2015-09-16 09:05:22 +0200 |
---|---|---|
committer | Markus Metzger <markus.t.metzger@intel.com> | 2015-09-18 14:33:16 +0200 |
commit | d2939ba2b40daa89b501d4b81484ea888ef17139 (patch) | |
tree | 12f688476388b1eaf825613f434067b19212dcbc /gdb/nat | |
parent | f2665db5f2c20f3f47673ad5343738b10ce81dde (diff) | |
download | gdb-d2939ba2b40daa89b501d4b81484ea888ef17139.zip gdb-d2939ba2b40daa89b501d4b81484ea888ef17139.tar.gz gdb-d2939ba2b40daa89b501d4b81484ea888ef17139.tar.bz2 |
btrace: honour scheduler-locking for all-stop targets
In all-stop mode, record btrace maintains the old behaviour of an implicit
scheduler-locking on.
Now that we added a scheduler-locking mode to model this old behaviour, we
don't need the respective code in record btrace anymore. Remove it.
For all-stop targets, step inferior_ptid and continue other threads matching
the argument ptid. Assert that inferior_ptid matches the argument ptid.
This should make record btrace honour scheduler-locking.
gdb/
* record-btrace.c (record_btrace_resume): Honour scheduler-locking.
testsuite/
* gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
and replay.
Diffstat (limited to 'gdb/nat')
0 files changed, 0 insertions, 0 deletions