summaryrefslogtreecommitdiff
path: root/gdb/linux-fork.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/linux-fork.c')
-rw-r--r--gdb/linux-fork.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/gdb/linux-fork.c b/gdb/linux-fork.c
index 498db30189b..c8aee9119d0 100644
--- a/gdb/linux-fork.c
+++ b/gdb/linux-fork.c
@@ -34,8 +34,6 @@
#include "gdb_dirent.h"
#include <ctype.h>
-extern int detach_fork;
-
struct fork_info *fork_list;
static int highest_fork_num;
@@ -670,14 +668,6 @@ _initialize_linux_fork (void)
{
init_fork_list ();
- /* Set/show detach-on-fork: user-settable mode. */
-
- add_setshow_boolean_cmd ("detach-on-fork", class_obscure, &detach_fork, _("\
-Set whether gdb will detach the child of a fork."), _("\
-Show whether gdb will detach the child of a fork."), _("\
-Tells gdb whether to detach the child of a fork."),
- NULL, NULL, &setlist, &showlist);
-
/* Set/show restart-auto-finish: user-settable count. Causes the
first "restart" of a fork to do some number of "finish" commands
before returning to user.