summaryrefslogtreecommitdiff
path: root/gdb/inferior.h
diff options
context:
space:
mode:
authorLuis Machado <luisgpm@br.ibm.com>2013-09-03 17:22:44 +0000
committerLuis Machado <luisgpm@br.ibm.com>2013-09-03 17:22:44 +0000
commit36a31ec983a162960eb0c14d1054f8cb95a5db87 (patch)
treefbb07ee5aa17dc2b3550c96ad6bd8fd8f0051b05 /gdb/inferior.h
parent365ca53d7124553b08c9ff6d1120f06e42c1f552 (diff)
downloadgdb-36a31ec983a162960eb0c14d1054f8cb95a5db87.tar.gz
* 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.
Diffstat (limited to 'gdb/inferior.h')
-rw-r--r--gdb/inferior.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h
index 2a5770dd358..1b83e52d965 100644
--- a/gdb/inferior.h
+++ b/gdb/inferior.h
@@ -119,11 +119,6 @@ extern int step_stop_if_no_debug;
are kept running freely. */
extern int non_stop;
-/* If set (default), when following a fork, GDB will detach from one
- the fork branches, child or parent. Exactly which branch is
- detached depends on 'set follow-fork-mode' setting. */
-extern int detach_fork;
-
/* When set (default), the target should attempt to disable the operating
system's address space randomization feature when starting an inferior. */
extern int disable_randomization;