PR gdb/11321
[deliverable/binutils-gdb.git] / gdb / inferior.h
index bd6f1c892d184d144640215da44ed05cf23a201d..dc87a9e1929b520bf60d0c9e4a8b7ee4642469cd 100644 (file)
@@ -185,6 +185,8 @@ extern void address_to_signed_pointer (struct gdbarch *gdbarch,
 
 extern void wait_for_inferior (int treat_exec_as_sigtrap);
 
+extern void prepare_for_detach (void);
+
 extern void fetch_inferior_event (void *);
 
 extern void init_wait_for_inferior (void);
@@ -478,6 +480,9 @@ struct inferior
      either by exiting or execing.  */
   int waiting_for_vfork_done;
 
+  /* True if we're in the process of detaching from this inferior.  */
+  int detaching;
+
   /* What is left to do for an execution command after any thread of
      this inferior stops.  For continuations associated with a
      specific thread, see `struct thread_info'.  */
This page took 0.026669 seconds and 4 git commands to generate.