]> Git Repo - binutils.git/blobdiff - gdb/linux-fork.c
2009-10-19 Pedro Alves <[email protected]>
[binutils.git] / gdb / linux-fork.c
index 35ca389867efba605c8b7cd5b9a27fc56bcdadf7..a69bc36bbab7a5ace6757aaf90158931e756415a 100644 (file)
@@ -41,9 +41,6 @@ static int highest_fork_num;
 /* Prevent warning from -Wmissing-prototypes.  */
 extern void _initialize_linux_fork (void);
 
-int detach_fork = 1;           /* Default behavior is to detach
-                                  newly forked processes (legacy).  */
-
 /* Fork list data structure:  */
 struct fork_info
 {
@@ -648,14 +645,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);
-
   /* Checkpoint command: create a fork of the inferior process
      and set it aside for later debugging.  */
 
This page took 0.022585 seconds and 4 git commands to generate.