* hppah-nat.c (saved_child_execd_pathname, saved_vfork_state): New.
authorDaniel Jacobowitz <drow@false.org>
Wed, 11 Dec 2002 02:02:03 +0000 (02:02 +0000)
committerDaniel Jacobowitz <drow@false.org>
Wed, 11 Dec 2002 02:02:03 +0000 (02:02 +0000)
commit7d2830a309f131b09372007cdff1f277a76b2458
tree1fe0686cc6c8e079cc924466a147bb3fdf06bb88
parent8e7d2c16952df15b6628a9f2ee985086a408561f
* 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