]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/exec.h
gdb: follow-fork: push target and add thread in target_follow_fork
[thirdparty/binutils-gdb.git] / gdb / exec.h
index 1119953dc8fb79ac01a448065b5ff8cc9291fb47..c237f831d23464e2fa64f32271c99c671d1823e4 100644 (file)
@@ -34,12 +34,11 @@ struct objfile;
 
 extern target_section_table build_section_table (struct bfd *);
 
-/* The current inferior is a child vforked and its program space is
-   shared with its parent.  This pushes the exec target on the
-   current/child inferior's target stack if there are sections in the
-   program space's section table.  */
+/* VFORK_CHILD is a child vforked and its program space is shared with its
+   parent.  This pushes the exec target on that inferior's target stack if
+   there are sections in the program space's section table.  */
 
-extern void exec_on_vfork ();
+extern void exec_on_vfork (inferior *vfork_child);
 
 /* Read from mappable read-only sections of BFD executable files.
    Return TARGET_XFER_OK, if read is successful.  Return