OSDN Git Service

* hppah-nat.c (saved_child_execd_pathname, saved_vfork_state): New.
authordrow <drow>
Wed, 11 Dec 2002 02:02:02 +0000 (02:02 +0000)
committerdrow <drow>
Wed, 11 Dec 2002 02:02:02 +0000 (02:02 +0000)
commitaea250a332ed6b66229596bd7aa7f7715fb7f678
treefc8fca1445d446570c54b8441e3ca96dbd498e91
parent1b4d437a1ee69c673d47fc62aa606992410f84d5
* hppah-nat.c (saved_child_execd_pathname, saved_vfork_state): New.
(child_post_follow_vfork): Cancel pending exec event if we follow
the parent.
(child_wait): Only return TARGET_WAITKIND_VFORKED when all necessary
events have been processed.  Return a fake TARGET_WAITKIND_EXECD
event at the following wait call if necessary.
* infrun.c (follow_vfork): Don't follow_exec here.
(handle_inferior_event): Add comment to TARGET_WAITKIND_EXECD
case about HP/UX 10.20.  Remove code pushed down to
hppah-nat.c:child_wait.
* infttrace.c (child_resume): Use TT_PROC_CONTINUE if
vfork_in_flight is set.
gdb/ChangeLog
gdb/hppah-nat.c
gdb/infrun.c
gdb/infttrace.c