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:
parent
d1b55219eb
commit
1c63c99491
5 changed files with 26 additions and 12 deletions
|
@ -4347,7 +4347,7 @@ target_record_is_replaying (void)
|
|||
|
||||
for (t = current_target.beneath; t != NULL; t = t->beneath)
|
||||
if (t->to_record_is_replaying != NULL)
|
||||
return t->to_record_is_replaying ();
|
||||
return t->to_record_is_replaying (t);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue