aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2010-12-28 11:40:27 +0000
committerJoel Brobecker <brobecker@gnat.com>2010-12-28 11:40:27 +0000
commitf73b1357dfcddcd95be4f0a07e574cc6a324ae46 (patch)
treefbcdccd937ee979ac84eb048e5fdf73a68beace5 /gdb/target.h
parent151254a6b505129432b6d8d6bb3760388f79feb4 (diff)
downloadgdb-f73b1357dfcddcd95be4f0a07e574cc6a324ae46.zip
gdb-f73b1357dfcddcd95be4f0a07e574cc6a324ae46.tar.gz
gdb-f73b1357dfcddcd95be4f0a07e574cc6a324ae46.tar.bz2
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/target.h')
-rw-r--r--gdb/target.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/target.h b/gdb/target.h
index 7290d90..ea27b2c 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -467,7 +467,6 @@ struct target_ops
void (*to_create_inferior) (struct target_ops *,
char *, char *, char **, int);
void (*to_post_startup_inferior) (ptid_t);
- void (*to_acknowledge_created_inferior) (int);
void (*to_insert_fork_catchpoint) (int);
int (*to_remove_fork_catchpoint) (int);
void (*to_insert_vfork_catchpoint) (int);
@@ -1026,12 +1025,6 @@ void target_create_inferior (char *exec_file, char *args,
#define target_post_startup_inferior(ptid) \
(*current_target.to_post_startup_inferior) (ptid)
-/* On some targets, the sequence of starting up an inferior requires
- some synchronization between gdb and the new inferior process, PID. */
-
-#define target_acknowledge_created_inferior(pid) \
- (*current_target.to_acknowledge_created_inferior) (pid)
-
/* On some targets, we can catch an inferior fork or vfork event when
it occurs. These functions insert/remove an already-created
catchpoint for such events. */