void thread_db_detach (struct process_info *proc) { struct thread_db *thread_db = proc->priv->thread_db; if (thread_db) { disable_thread_event_reporting (proc); } }
static void fbsd_thread_deactivate (void) { if (target_has_execution) disable_thread_event_reporting(); td_ta_delete_p (thread_agent); inferior_ptid = pid_to_ptid (proc_handle.pid); proc_handle.pid = 0; fbsd_thread_active = 0; fbsd_thread_present = 0; }
static void fbsd_thread_deactivate (void) { if (fbsd_thread_core == 0) disable_thread_event_reporting(); td_ta_delete_p (thread_agent); inferior_ptid = pid_to_ptid (proc_handle.pid); proc_handle.pid = 0; fbsd_thread_active = 0; fbsd_thread_present = 0; init_thread_list (); }