target: add to_record_stop_replaying target method
authorMarkus Metzger <markus.t.metzger@intel.com>
Tue, 8 Sep 2015 07:42:20 +0000 (09:42 +0200)
committerMarkus Metzger <markus.t.metzger@intel.com>
Fri, 18 Sep 2015 12:30:12 +0000 (14:30 +0200)
commit797094dddfbcc3ea1d0efc900185ba3857d30226
tree0d3918d5022b93aed714dcdc4d61831926c39a6f
parent4d10e986f499f330963c4641fd91046c57c94bd8
target: add to_record_stop_replaying target method

Add a new target method to_record_stop_replaying to stop replaying.

gdb/
* record-btrace.c (record_btrace_resume): Call
target_record_stop_replaying.
(record_btrace_stop_replaying_all): New.
(init_record_btrace_ops): Initialize to_record_stop_replaying.
* record-full.c (record_full_stop_replaying): New.
(init_record_full_ops ): Initialize to_record_stop_replaying.
* target-delegates.c: Regenerated.
* target.c (target_record_stop_replaying): New.
* target.h (struct target_ops) <to_record_stop_replaying>: New.
(target_record_stop_replaying): New.
gdb/ChangeLog
gdb/record-btrace.c
gdb/record-full.c
gdb/target-delegates.c
gdb/target.c
gdb/target.h