aboutsummaryrefslogtreecommitdiff
path: root/gdb/record.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/record.c')
-rw-r--r--gdb/record.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/record.c b/gdb/record.c
index cd541b5..483b906 100644
--- a/gdb/record.c
+++ b/gdb/record.c
@@ -166,7 +166,7 @@ record_unpush (struct target_ops *t)
{
DEBUG ("unpush %s", t->shortname ());
- unpush_target (t);
+ current_inferior ()->unpush_target (t);
}
/* See record.h. */