/* See record.h. */
void
-record_detach (struct target_ops *t, int from_tty)
+record_detach (struct target_ops *t, inferior *inf, int from_tty)
{
gdb_assert (t->to_stratum == record_stratum);
record_stop (t);
record_unpush (t);
- target_detach (from_tty);
+ target_detach (inf, from_tty);
}
/* See record.h. */