Change inferior thread list to be a thread map
[deliverable/binutils-gdb.git] / gdb / gdbthread.h
index f205e29dd7dd2f1e4957c2ae3473e15a770fa454..45d2f2f8eedac56d3201ffb5c44faabdbbbb4e5a 100644 (file)
@@ -252,7 +252,6 @@ public:
   /* Mark this thread as running and notify observers.  */
   void set_running (bool running);
 
-  struct thread_info *next = NULL;
   ptid_t ptid;                 /* "Actual process id";
                                    In fact, this may be overloaded with 
                                    kernel thread id, etc.  */
@@ -433,14 +432,21 @@ extern struct thread_info *add_thread_with_info (process_stratum_target *targ,
                                                 ptid_t ptid,
                                                 private_thread_info *);
 
-/* Delete an existing thread list entry.  */
+/* Delete an existing thread, removing the entry from its inferior's thread
+   map.  */
 extern void delete_thread (struct thread_info *thread);
 
+/* Like the above, but don't remove the entry from the inferior thread map.  */
+extern void delete_thread_noremove(struct thread_info *thread);
+
 /* Delete an existing thread list entry, and be quiet about it.  Used
    after the process this thread having belonged to having already
    exited, for example.  */
 extern void delete_thread_silent (struct thread_info *thread);
 
+/* Like the above, but don't remove the entry from the inferior thread map.  */
+extern void delete_thread_silent_noremove (thread_info *thread);
+
 /* Delete a step_resume_breakpoint from the thread database.  */
 extern void delete_step_resume_breakpoint (struct thread_info *);
 
This page took 0.024003 seconds and 4 git commands to generate.