mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
6604731ba7
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. |
||
---|---|---|
.. | ||
hppa64.mt | ||
hppa.mt | ||
hppabsd.mh | ||
hppabsd.mt | ||
hppahpux.mh | ||
hppahpux.mt | ||
hppaosf.mh | ||
hppaosf.mt | ||
hppapro.mt | ||
hpux11.mh | ||
hpux11.mt | ||
hpux11w.mh | ||
hpux11w.mt | ||
hpux1020.mh | ||
hpux1020.mt | ||
nm-hppab.h | ||
nm-hppah11.h | ||
nm-hppah.h | ||
nm-hppao.h | ||
tm-hppa64.h | ||
tm-hppa.h | ||
tm-hppab.h | ||
tm-hppah.h | ||
tm-hppao.h | ||
tm-pro.h | ||
xm-hppab.h | ||
xm-hppah.h | ||
xm-pa.h |