Native targets: Add inf-child.c:inf_child_mourn_inferior and use it.
[deliverable/binutils-gdb.git] / gdb / inf-child.c
index a3c4fe4c445f98c678415a10586bb4d3d8b6c7af..dbadde845d8527cb66433858e3c80f5b8a63cbf3 100644 (file)
@@ -159,6 +159,13 @@ inf_child_close (struct target_ops *target)
   inf_child_explicitly_opened = 0;
 }
 
+void
+inf_child_mourn_inferior (struct target_ops *ops)
+{
+  generic_mourn_inferior ();
+  inf_child_maybe_unpush_target (ops);
+}
+
 /* See inf-child.h.  */
 
 void
This page took 0.025408 seconds and 4 git commands to generate.