Remove the attach_flag global, and make it per-inferior.
[deliverable/binutils-gdb.git] / gdb / inferior.h
index 66e7d4754c547deb258ed07ec24f9bc3c68017bc..43f902238ff72133730aa606dbfd8b1908b541d7 100644 (file)
@@ -351,11 +351,6 @@ extern int proceed_to_finish;
 
 extern struct regcache *stop_registers;
 
-/* Nonzero if the child process in inferior_ptid was attached rather
-   than forked.  */
-
-extern int attach_flag;
-
 /* True if we are debugging displaced stepping.  */
 extern int debug_displaced;
 
@@ -424,6 +419,10 @@ struct inferior
   /* See the definition of stop_kind above.  */
   enum stop_kind stop_soon;
 
+  /* Nonzero if this child process was attached rather than
+     forked.  */
+  int attach_flag;
+
   /* Private data used by the target vector implementation.  */
   struct private_inferior *private;
 };
This page took 0.023742 seconds and 4 git commands to generate.