diff options
author | Daniel Jacobowitz <dan@debian.org> | 2002-11-16 19:21:44 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2002-11-16 19:21:44 +0000 |
commit | 81061d3f572187d6b8f3c82405e3ac500f286f78 (patch) | |
tree | 25cebb4f35e2b5ce880fc0857f3100eca98df745 /gdb/target.c | |
parent | b780dd0325b4c93b33859ad88894981be630167c (diff) | |
download | gdb-81061d3f572187d6b8f3c82405e3ac500f286f78.tar.gz |
* 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 51ace7413e6..b9ad14b758f 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; |