* inf-child.c (inf_child_follow_fork) New parameter
authorLuis Machado <luisgpm@br.ibm.com>
Tue, 3 Sep 2013 17:22:45 +0000 (17:22 +0000)
committerLuis Machado <luisgpm@br.ibm.com>
Tue, 3 Sep 2013 17:22:45 +0000 (17:22 +0000)
commit07107ca6f983e2dde5fa669a56563760a1f44c11
treedbc1afaf4e0a4a854a1761f333bbccc64a0c3e72
parent3bec276888142e4f751eaf9011f02b049fed7295
* inf-child.c (inf_child_follow_fork) New parameter
detach_fork.
* inf-ptrace.c (inf_ptrace_follow_fork): Likewise.
* inf-ttrace.c (inf_ttrace_follow_fork): Likewise.
* inferior.h (detach_fork): Remove.
* infrun.c (detach_fork): Adjust comment and make it
static.
(follow_fork): Pass detach_fork parameter to
target_follow_fork.
* linux-nat.c (linux_child_follow_fork): New parameter
detach_fork.
* target.c (target_follow_fork): New parameter detach_fork.
Pass detach_fork as parameter and print its value.
* target.h (struct target_ops) <to_follow_fork>: New int
parameter.
(target_follow_fork): New parameter detach_fork.
gdb/ChangeLog
gdb/inf-child.c
gdb/inf-ptrace.c
gdb/inf-ttrace.c
gdb/inferior.h
gdb/infrun.c
gdb/linux-nat.c
gdb/target.c
gdb/target.h