Add thread_db_notice_clone to gdbserver
[external/binutils.git] / gdb / gdbserver / linux-low.c
index 1bc8f38..a3f9ab9 100644 (file)
@@ -656,6 +656,8 @@ handle_extended_wait (struct lwp_info **orig_event_lwp, int wstat)
          new_lwp->status_pending = status;
        }
 
+      thread_db_notice_clone (get_thread_process (event_thr), ptid);
+
       /* Don't report the event.  */
       return 1;
     }