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.h | |
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.h')
-rw-r--r-- | gdb/target.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/gdb/target.h b/gdb/target.h index 5cdb76f..c804a9f 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -280,7 +280,6 @@ struct target_ops int (*to_remove_vfork_catchpoint) (int); int (*to_has_forked) (int, int *); int (*to_has_vforked) (int, int *); - int (*to_can_follow_vfork_prior_to_exec) (void); void (*to_post_follow_vfork) (int, int, int, int); int (*to_insert_exec_catchpoint) (int); int (*to_remove_exec_catchpoint) (int); @@ -563,8 +562,6 @@ extern int child_has_vforked (int, int *); extern void child_acknowledge_created_inferior (int); -extern int child_can_follow_vfork_prior_to_exec (void); - extern void child_post_follow_vfork (int, int, int, int); extern int child_insert_exec_catchpoint (int); @@ -759,18 +756,6 @@ extern void target_load (char *arg, int from_tty); #define target_has_vforked(pid,child_pid) \ (*current_target.to_has_vforked) (pid,child_pid) -/* Some platforms (such as pre-10.20 HP-UX) don't allow us to do - anything to a vforked child before it subsequently calls exec(). - On such platforms, we say that the debugger cannot "follow" the - child until it has vforked. - - This function should be defined to return 1 by those targets - which can allow the debugger to immediately follow a vforked - child, and 0 if they cannot. */ - -#define target_can_follow_vfork_prior_to_exec() \ - (*current_target.to_can_follow_vfork_prior_to_exec) () - /* An inferior process has been created via a vfork() system call. The debugger has followed the parent, the child, or both. The process of setting up for that follow may have required some |