diff options
author | Daniel Jacobowitz <drow@false.org> | 2002-11-16 19:21:44 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2002-11-16 19:21:44 +0000 |
commit | 4088142aaeb229390c53957ab465955725d43b17 (patch) | |
tree | 750792fd53768c97b269a1688225e26a2b26c9e6 /gdb/target.c | |
parent | 5934e39b3dbf53624b900a5e8632c2e6ed6175b7 (diff) | |
download | gdb-4088142aaeb229390c53957ab465955725d43b17.zip gdb-4088142aaeb229390c53957ab465955725d43b17.tar.gz 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/target.c')
-rw-r--r-- | gdb/target.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/gdb/target.c b/gdb/target.c index 51ace74..b9ad14b 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -492,9 +492,6 @@ cleanup_target (struct target_ops *t) de_fault (to_has_vforked, (int (*) (int, int *)) return_zero); - de_fault (to_can_follow_vfork_prior_to_exec, - (int (*) (void)) - return_zero); de_fault (to_post_follow_vfork, (void (*) (int, int, int, int)) target_ignore); @@ -629,7 +626,6 @@ update_current_target (void) INHERIT (to_remove_vfork_catchpoint, t); INHERIT (to_has_forked, t); INHERIT (to_has_vforked, t); - INHERIT (to_can_follow_vfork_prior_to_exec, t); INHERIT (to_post_follow_vfork, t); INHERIT (to_insert_exec_catchpoint, t); INHERIT (to_remove_exec_catchpoint, t); @@ -2154,19 +2150,6 @@ debug_to_has_vforked (int pid, int *child_pid) return has_vforked; } -static int -debug_to_can_follow_vfork_prior_to_exec (void) -{ - int can_immediately_follow_vfork; - - can_immediately_follow_vfork = debug_target.to_can_follow_vfork_prior_to_exec (); - - fprintf_unfiltered (gdb_stdlog, "target_can_follow_vfork_prior_to_exec () = %d\n", - can_immediately_follow_vfork); - - return can_immediately_follow_vfork; -} - static void debug_to_post_follow_vfork (int parent_pid, int followed_parent, int child_pid, int followed_child) @@ -2436,7 +2419,6 @@ setup_target_debug (void) current_target.to_remove_vfork_catchpoint = debug_to_remove_vfork_catchpoint; current_target.to_has_forked = debug_to_has_forked; current_target.to_has_vforked = debug_to_has_vforked; - current_target.to_can_follow_vfork_prior_to_exec = debug_to_can_follow_vfork_prior_to_exec; current_target.to_post_follow_vfork = debug_to_post_follow_vfork; current_target.to_insert_exec_catchpoint = debug_to_insert_exec_catchpoint; current_target.to_remove_exec_catchpoint = debug_to_remove_exec_catchpoint; |