diff options
author | Daniel Jacobowitz <dan@debian.org> | 2002-12-11 02:04:45 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2002-12-11 02:04:45 +0000 |
commit | 4a34af0a6c8157490f08f5553efd348f1dbe4bc3 (patch) | |
tree | 1833b757e926b23f8566a2d87d0670a74d32ffd8 /gdb/inferior.h | |
parent | d795af607a56ff13d0e14ad263280d3fa9277c14 (diff) | |
download | gdb-4a34af0a6c8157490f08f5553efd348f1dbe4bc3.tar.gz |
* config/pa/nm-hppah.h (CHILD_POST_FOLLOW_VFORK): Change to
CHILD_FOLLOW_FORK.
* hppah-nat.c (saved_vfork_pid): Add.
(child_post_follow_vfork): Remove.
(child_follow_fork): New function.
(child_wait): Call detach_breakpoints after receiving the child vfork.
Call child_resume directly instead of going through resume ().
Make sure we have the exec before reporting the vfork.
* inferior.h (follow_inferior_reset_breakpoints): Add prototype.
* infrun.c (follow_fork, follow_vfork, follow_inferior_fork): Remove.
(follow_fork): New function. Call target_follow_fork.
(follow_inferior_reset_breakpoints): New function broken out from
old follow_inferior_fork.
(resume): Remove hack to follow exec after vfork.
* inftarg.c (child_post_follow_vfork): Remove.
(child_follow_fork): New function.
(init_child_ops): Replace to_post_follow_vfork with to_follow_fork.
* target.c (cleanup_target): Replace to_post_follow_vfork with
to_follow_fork.
(update_current_target): Likewise.
(setup_target_debug): Likewise.
(debug_to_post_follow_vfork): Remove.
(debug_to_follow_fork): New function.
* target.h (struct target_ops): Replace to_post_folow_vfork with
to_follow_fork.
(child_post_follow_vfork): Remove prototype.
(child_follow_fork): Add prototype.
(target_post_follow_vfork): Remove macro.
(target_follow_fork): Add macro.
testsuite/
* gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
Diffstat (limited to 'gdb/inferior.h')
-rw-r--r-- | gdb/inferior.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h index 84b45698f3c..a9bbd59496d 100644 --- a/gdb/inferior.h +++ b/gdb/inferior.h @@ -304,6 +304,8 @@ extern int signal_pass_update (int, int); extern void get_last_target_status(ptid_t *ptid, struct target_waitstatus *status); +extern void follow_inferior_reset_breakpoints (void); + /* From infcmd.c */ extern void tty_command (char *, int); |