gdb: replace inferior::waiting_for_vfork_done with inferior::thread_waiting_for_vfork...
[deliverable/binutils-gdb.git] / gdb / inferior.h
index e542bdaf092aeee1ade9fcb04a3afba0b616f967..c9f26fb1cac282e4a685b38abc671c270b48fa49 100644 (file)
@@ -508,10 +508,10 @@ public:
      exits or execs.  */
   bool pending_detach = false;
 
-  /* True if this inferior is a vfork parent waiting for a vfork child
-     not under our control to be done with the shared memory region,
-     either by exiting or execing.  */
-  bool waiting_for_vfork_done = false;
+  /* If non-nullptr, points to a thread that called vfork and is now waiting
+     for a vfork child not under our control to be done with the shared memory
+     region, either by exiting or execing.  */
+  thread_info *thread_waiting_for_vfork_done = nullptr;
 
   /* True if we're in the process of detaching from this inferior.  */
   bool detaching = false;
This page took 0.031226 seconds and 4 git commands to generate.