Add target_ops argument to to_record_is_replaying

2014-02-19  Tom Tromey  <tromey@redhat.com>

	* target.h (struct target_ops) <to_record_is_replaying>: Add
	argument.
	* target.c (target_record_is_replaying): Add argument.
	* record-full.c (record_full_is_replaying): Add 'self' argument.
	* record-btrace.c (record_btrace_is_replaying): Add 'self'
	argument.
	(record_btrace_xfer_partial, record_btrace_store_registers)
	(record_btrace_prepare_to_store, record_btrace_resume)
	(record_btrace_wait, record_btrace_decr_pc_after_break)
	(record_btrace_find_new_threads, record_btrace_thread_alive):
	Update.
This commit is contained in:
Tom Tromey
2013-12-17 21:47:15 -07:00
parent d1b55219eb
commit 1c63c99491
5 changed files with 26 additions and 12 deletions

View File

@ -939,7 +939,7 @@ struct target_ops
void (*to_delete_record) (struct target_ops *);
/* Query if the record target is currently replaying. */
int (*to_record_is_replaying) (void);
int (*to_record_is_replaying) (struct target_ops *);
/* Go to the begin of the execution trace. */
void (*to_goto_record_begin) (void);