aboutsummaryrefslogtreecommitdiff
path: root/gdb/inf-child.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/inf-child.c')
-rw-r--r--gdb/inf-child.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/inf-child.c b/gdb/inf-child.c
index 192cfc3..b8bc2e2 100644
--- a/gdb/inf-child.c
+++ b/gdb/inf-child.c
@@ -207,7 +207,7 @@ void
inf_child_target::maybe_unpush_target ()
{
if (!inf_child_explicitly_opened)
- unpush_target (this);
+ current_inferior ()->unpush_target (this);
}
void