X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fexec.h;h=54e6ff4d9bab6c2c6f730b1faaf5a4062e20ce65;hb=5b6d1e4fa4fc6827c7b3f0e99ff120dfa14d65d2;hp=e50a3a0f49a9ac7fdc8c67c9dc4dc7cd3c8516e0;hpb=75c6c844d9df37761e0e834df057b89e41816e55;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/exec.h b/gdb/exec.h index e50a3a0f49..54e6ff4d9b 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