Remove the attach_flag global, and make it per-inferior.
[deliverable/binutils-gdb.git] / gdb / target.c
index 2fefa840c3b08b19cb78c67b5ee819232bfa613c..a509c173db7e17c84c3f04089485c4f72941809f 100644 (file)
@@ -199,11 +199,6 @@ struct target_ops current_target;
 
 static struct cmd_list_element *targetlist = NULL;
 
-/* Nonzero if we are debugging an attached outside process
-   rather than an inferior.  */
-
-int attach_flag;
-
 /* Nonzero if we should trust readonly sections from the
    executable when reading memory.  */
 
@@ -2349,7 +2344,6 @@ generic_mourn_inferior (void)
       delete_inferior (pid);
     }
 
-  attach_flag = 0;
   breakpoint_init_inferior (inf_exited);
   registers_changed ();
 
This page took 0.024058 seconds and 4 git commands to generate.