* inf-ptrace.c [PT_GET_PROCESS_STATE] (inf_ptrace_follow_fork):
authorMark Kettenis <kettenis@gnu.org>
Mon, 25 Jul 2005 21:11:02 +0000 (21:11 +0000)
committerMark Kettenis <kettenis@gnu.org>
Mon, 25 Jul 2005 21:11:02 +0000 (21:11 +0000)
commit735f54b499f18e9f36644d69737a5653ace1c008
tree381ec4166bebabf7bb29e2443e7378656c18352e
parent4b8a1a2882dbf0f5bc93eed673d8fb6068ddb924
* inf-ptrace.c [PT_GET_PROCESS_STATE] (inf_ptrace_follow_fork):
New function.
(inf_ptrace_him, inf_ptrace_attach) [PT_GET_PROCESS_STATE]: Set
PTRACE_FORK event flag.
(inf_ptrace_wait) [PT_GET_PROCESS_STATE]: Handle PTRACE_FORK
event.
(inf_ptrace_target) [PT_GET_PROCESS_STATE]: Set to_follow_fork.
gdb/ChangeLog
gdb/inf-ptrace.c