aboutsummaryrefslogtreecommitdiff
path: root/gdb/exec.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/exec.h')
-rw-r--r--gdb/exec.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/exec.h b/gdb/exec.h
index e50a3a0..54e6ff4 100644
--- a/gdb/exec.h
+++ b/gdb/exec.h
@@ -44,6 +44,13 @@ extern int build_section_table (struct bfd *, struct target_section **,
extern void clear_section_table (struct target_section_table *table);
+/* 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. */
+
+extern void exec_on_vfork ();
+
/* Read from mappable read-only sections of BFD executable files.
Return TARGET_XFER_OK, if read is successful. Return
TARGET_XFER_EOF if read is done. Return TARGET_XFER_E_IO