OSDN Git Service

* inf-child.c (inf_child_follow_fork): Add OPS argument.
authordrow <drow>
Sun, 4 Sep 2005 16:18:16 +0000 (16:18 +0000)
committerdrow <drow>
Sun, 4 Sep 2005 16:18:16 +0000 (16:18 +0000)
commitbbe408dbb1939b8806ee6a521961c65c021df307
treee86fcebac83a97a7a4019625ceabb5654dd3b0a4
parent37f5ee620883c104c32dd5da565d1b5928b69e86
* inf-child.c (inf_child_follow_fork): Add OPS argument.
* inf-ptrace.c (inf_ptrace_follow_fork): Likewise.
* inf-ttrace.c (inf_ttrace_follow_fork): Likewise.
* inftarg.c (child_follow_fork): Likewise.
* linux-nat.c (child_follow_fork): Likewise.  Use ops instead of
&deprecated_child_ops.
* target.c (update_current_target): Do not inherit to_follow_fork.
(target_follow_fork): New function.
(debug_to_follow_fork): Remove.
(setup_target_debug): Don't set to_follow_fork.
* target.h (struct target_ops): Add struct target_ops * to
to_follow_fork.
(child_follow_fork): Add struct target_ops * argument.
(target_follow_fork): Replace macro with prototype.
gdb/ChangeLog
gdb/inf-child.c
gdb/inf-ptrace.c
gdb/inf-ttrace.c
gdb/inftarg.c
gdb/linux-nat.c
gdb/target.c
gdb/target.h