aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorMarkus Metzger <markus.t.metzger@intel.com>2015-09-08 09:05:38 +0200
committerMarkus Metzger <markus.t.metzger@intel.com>2015-09-18 14:29:22 +0200
commit4d10e986f499f330963c4641fd91046c57c94bd8 (patch)
tree3c0e9fc1c87f7a33dc5c2957d1d76215cf4fe34e /gdb/target.h
parenta52eab48080f29feaa56421481cfea221ee6346e (diff)
downloadgdb-4d10e986f499f330963c4641fd91046c57c94bd8.zip
gdb-4d10e986f499f330963c4641fd91046c57c94bd8.tar.gz
gdb-4d10e986f499f330963c4641fd91046c57c94bd8.tar.bz2
btrace: allow full memory and register access for non-replaying threads
The record btrace target does not allow accessing memory and storing registers while replaying. For multi-threaded applications, this prevents those accesses also for threads that are at the end of their execution history as long as at least one thread is replaying. Change this to only check if the selected thread is replaying. This allows threads that are at the end of their execution history to read and write memory and to store registers. Also change the error message to reflect this change. gdb/ * record-btrace.c (record_btrace_xfer_partial) (record_btrace_store_registers, record_btrace_prepare_to_store): Call record_btrace_is_replaying with inferior_ptid instead of minus_one_ptid. (record_btrace_store_registers): Change error message.
Diffstat (limited to 'gdb/target.h')
0 files changed, 0 insertions, 0 deletions