* linux-nat.c (my_waitpid): New function.
authorDaniel Jacobowitz <drow@false.org>
Sun, 21 Nov 2004 20:10:02 +0000 (20:10 +0000)
committerDaniel Jacobowitz <drow@false.org>
Sun, 21 Nov 2004 20:10:02 +0000 (20:10 +0000)
commitb957e93796cfbdade45a450c4f6ff4400e58f29a
treec75b685ce8c9cc8341f9530a4633b1b9084359c8
parent65d3800afdbb924961d55980838aafe9c84962e6
* 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