summaryrefslogtreecommitdiff
path: root/gdb/inf-ptrace.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2010-12-28 11:40:26 +0000
committerJoel Brobecker <brobecker@gnat.com>2010-12-28 11:40:26 +0000
commit2421f8328fd57072c31072a5a376f1e934c8c1f5 (patch)
treee59f2f404263fa27d1bf798276806572836451f3 /gdb/inf-ptrace.c
parentef12035dafeda230288f20e47c1a1c7d65c9651f (diff)
downloadgdb-2421f8328fd57072c31072a5a376f1e934c8c1f5.tar.gz
remove target_acknowledge_created_inferior
This target_ops routine appears to be unused in practice, so this patch removes it. gdb/ChangeLog: * inf-child.c (inf_child_acknowledge_created_inferior): Delete. (inf_child_target): Do not set t->to_acknowledge_created_inferior. * inf-ptrace.c (inf_ptrace_create_inferior): Remove call to target_acknowledge_created_inferior. * inf-ttrace.c (inf_ttrace_him): Likewise. * target.h (struct target_ops): Delete to_acknowledge_created_inferior field. (target_acknowledge_created_inferior): Delete. * target.c (update_current_target): Remove setting of to_acknowledge_created_inferior field. Do default value for that field either. (debug_to_acknowledge_created_inferior): Delete. (setup_target_debug): Remove setting of current_target.to_acknowledge_created_inferior.
Diffstat (limited to 'gdb/inf-ptrace.c')
-rw-r--r--gdb/inf-ptrace.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/inf-ptrace.c b/gdb/inf-ptrace.c
index 440f2ed7e7f..d64c5195fc3 100644
--- a/gdb/inf-ptrace.c
+++ b/gdb/inf-ptrace.c
@@ -139,13 +139,6 @@ inf_ptrace_create_inferior (struct target_ops *ops,
if (! ops_already_pushed)
discard_cleanups (back_to);
- /* On some targets, there must be some explicit synchronization
- between the parent and child processes after the debugger
- forks, and before the child execs the debuggee program. This
- call basically gives permission for the child to exec. */
-
- target_acknowledge_created_inferior (pid);
-
/* START_INFERIOR_TRAPS_EXPECTED is defined in inferior.h, and will
be 1 or 2 depending on whether we're starting without or with a
shell. */