]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/target.c
Extended-remote follow-exec
[thirdparty/binutils-gdb.git] / gdb / target.c
index 3da984e379077d8a5711a7f0d5f830a7162fd595..f425fbce1e9a86b401dc958ab60eafa2c6fb2f9c 100644 (file)
@@ -2304,6 +2304,14 @@ target_follow_fork (int follow_child, int detach_fork)
                                        follow_child, detach_fork);
 }
 
+/* Target wrapper for follow exec hook.  */
+
+void
+target_follow_exec (struct inferior *inf, char *execd_pathname)
+{
+  current_target.to_follow_exec (&current_target, inf, execd_pathname);
+}
+
 static void
 default_mourn_inferior (struct target_ops *self)
 {