Inform about new thread in a single place.
[deliverable/binutils-gdb.git] / gdb / remote.c
index 1ea5d55d5990101bb2aaa269e0541b09956296d1..eefea2e6a6dc9a6c8909fa1de6185d88646506eb 100644 (file)
@@ -1049,12 +1049,7 @@ record_currthread (int currthread)
   /* If this is a new thread, add it to GDB's thread list.
      If we leave it up to WFI to do this, bad things will happen.  */
   if (!in_thread_list (pid_to_ptid (currthread)))
-    {
-      add_thread (pid_to_ptid (currthread));
-      ui_out_text (uiout, "[New ");
-      ui_out_text (uiout, target_pid_to_str (pid_to_ptid (currthread)));
-      ui_out_text (uiout, "]\n");
-    }
+    add_thread (pid_to_ptid (currthread));
 }
 
 static char *last_pass_packet;
This page took 0.023132 seconds and 4 git commands to generate.