aboutsummaryrefslogtreecommitdiff
path: root/gdb/inftarg.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2002-11-16 19:21:44 +0000
committerDaniel Jacobowitz <drow@false.org>2002-11-16 19:21:44 +0000
commit4088142aaeb229390c53957ab465955725d43b17 (patch)
tree750792fd53768c97b269a1688225e26a2b26c9e6 /gdb/inftarg.c
parent5934e39b3dbf53624b900a5e8632c2e6ed6175b7 (diff)
downloadfsf-binutils-gdb-4088142aaeb229390c53957ab465955725d43b17.zip
fsf-binutils-gdb-4088142aaeb229390c53957ab465955725d43b17.tar.gz
fsf-binutils-gdb-4088142aaeb229390c53957ab465955725d43b17.tar.bz2
* hppah-nat.c (child_can_follow_vfork_prior_to_exec): Remove.
* inftarg.c (child_can_follow_vfork_prior_to_exec): Remove. (init_child_ops): Don't initialize to_can_follow_vfork_prior_to_exec. * infttrace.c (child_can_follow_vfork_prior_to_exec): Remove. * target.c (cleanup_target): Remove reference to to_can_follow_vfork_prior_to_exec. (update_current_target): Likewise. (debug_to_can_follow_vfork_prior_to_exec): Remove. (setup_target_debug): Remove reference to to_can_follow_vfork_prior_to_exec. * target.h (struct target_ops): Remove to_can_follow_vfork_prior_to_exec. (child_can_follow_vfork_prior_to_exec): Remove prototype. (target_can_follow_vfork_prior_to_exec): Remove definition. * config/pa/nm-hppah.h (CHILD_CAN_FOLLOW_VFORK_PRIOR_TO_EXEC): Don't define. * infrun.c (follow_vfork_when_exec): Remove. (follow_inferior_fork): Remove references to follow_vfork_when_exec. (follow_exec): Likewise. (handle_inferior_event): Likewise. (keep_going): Likewise.
Diffstat (limited to 'gdb/inftarg.c')
-rw-r--r--gdb/inftarg.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/gdb/inftarg.c b/gdb/inftarg.c
index e496811..31b196b 100644
--- a/gdb/inftarg.c
+++ b/gdb/inftarg.c
@@ -573,19 +573,6 @@ child_has_vforked (int pid, int *child_pid)
#endif
-#if !defined(CHILD_CAN_FOLLOW_VFORK_PRIOR_TO_EXEC)
-int
-child_can_follow_vfork_prior_to_exec (void)
-{
- /* This version of Unix doesn't support notification of vfork events.
- However, if it did, it probably wouldn't allow vforks to be followed
- before the following exec.
- */
- return 0;
-}
-#endif
-
-
#if !defined(CHILD_POST_FOLLOW_VFORK)
void
child_post_follow_vfork (int parent_pid, int followed_parent, int child_pid,
@@ -789,7 +776,6 @@ init_child_ops (void)
child_ops.to_remove_vfork_catchpoint = child_remove_vfork_catchpoint;
child_ops.to_has_forked = child_has_forked;
child_ops.to_has_vforked = child_has_vforked;
- child_ops.to_can_follow_vfork_prior_to_exec = child_can_follow_vfork_prior_to_exec;
child_ops.to_post_follow_vfork = child_post_follow_vfork;
child_ops.to_insert_exec_catchpoint = child_insert_exec_catchpoint;
child_ops.to_remove_exec_catchpoint = child_remove_exec_catchpoint;