OSDN Git Service

* linux-nat.c (my_waitpid): New function.
authordrow <drow>
Sun, 21 Nov 2004 20:09:56 +0000 (20:09 +0000)
committerdrow <drow>
Sun, 21 Nov 2004 20:09:56 +0000 (20:09 +0000)
commit8f6ef1acf5789d08f954c75552950c90270e7214
tree6c2fd2b2098399f782bac37100a8ca377cf2a624
parent9c96ec3c2851a3b9e3a9d2272358fea36435f08d
* linux-nat.c (my_waitpid): New function.
(linux_test_for_tracefork): Make more robust and verbose.  Take
an ORIGINAL_PID argument and test for PTRACE_SETOPTIONS first.
(linux_supports_tracefork, linux_supports_tracevforkdone): Take a PID
argument.  Update calls to linux_test_for_tracefork.
(linux_enable_event_reporting, child_follow_fork)
(child_insert_fork_catchpoint, child_insert_vfork_catchpoint)
(child_insert_exec_catchpoint): Update calls to
linux_supports_tracefork and linux_supports_tracevforkdone.
gdb/ChangeLog
gdb/linux-nat.c