OSDN Git Service

* linux-nat.c (PTRACE_O_TRACEVFORKDONE, PTRACE_O_TRACEEXIT): Define.
authordrow <drow>
Sun, 17 Aug 2003 20:17:02 +0000 (20:17 +0000)
committerdrow <drow>
Sun, 17 Aug 2003 20:17:02 +0000 (20:17 +0000)
commit9f65f13079eb1ff6d7a3a551360f3b20ef619074
tree551e02213621face3a4a6f193d6b12b2a8198ff6
parentf0c9949e7b902a31ecbdce667f2fd0e8c0653187
* linux-nat.c (PTRACE_O_TRACEVFORKDONE, PTRACE_O_TRACEEXIT): Define.
(PTRACE_EVENT_VFORKDONE, PTRACE_EVENT_EXIT): Define.
(linux_parent_pid, linux_supports_tracevforkdone_flag): New variable.
(linux_test_for_tracefork): Set linux_supports_tracevforkdone_flag.
(linux_supports_tracevforkdone): New function.
(linux_enable_event_reporting): Enable TRACEVFORK, TRACEEXEC, and
TRACEVFORKDONE.
(child_follow_fork): Handle vfork.
(linux_handle_extended_wait): Likewise.  Also handle exec.
(child_insert_vfork_catchpoint, child_insert_exec_catchpoint): Enable.
* NEWS: Mention fork tracing.
gdb/ChangeLog
gdb/linux-nat.c