]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
* linux-nat.c (PTRACE_O_TRACEVFORKDONE, PTRACE_O_TRACEEXIT): Define.
authorDaniel Jacobowitz <drow@false.org>
Fri, 22 Aug 2003 21:14:39 +0000 (21:14 +0000)
committerDaniel Jacobowitz <drow@false.org>
Fri, 22 Aug 2003 21:14:39 +0000 (21:14 +0000)
commit3e095b0248856cfa37d53e222d846242f2e6f655
tree350f6e0b373f1cddd93d54df14034b8541ffae7f
parente86c0170e6076feb001dddb9b70937a9a535c6a0
* 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/NEWS
gdb/linux-nat.c