diff options
Diffstat (limited to 'gdb/record.c')
-rw-r--r-- | gdb/record.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/record.c b/gdb/record.c index 74a14dc07b..9a476142e9 100644 --- a/gdb/record.c +++ b/gdb/record.c @@ -187,7 +187,7 @@ record_disconnect (struct target_ops *t, const char *args, int from_tty) /* 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); @@ -196,7 +196,7 @@ record_detach (struct target_ops *t, int from_tty) record_stop (t); record_unpush (t); - target_detach (from_tty); + target_detach (inf, from_tty); } /* See record.h. */ |