Inform about new thread in a single place.
[deliverable/binutils-gdb.git] / gdb / linux-nat.c
index b79e40fe0fc797702cd5833e46913c8d7f187a47..4f75ad933c84a15685af75fd5fb1d24c103bdcfa 100644 (file)
@@ -871,7 +871,7 @@ exit_lwp (struct lwp_info *lp)
    be attached.  */
 
 int
-lin_lwp_attach_lwp (ptid_t ptid, int verbose)
+lin_lwp_attach_lwp (ptid_t ptid)
 {
   struct lwp_info *lp;
 
@@ -956,9 +956,6 @@ lin_lwp_attach_lwp (ptid_t ptid, int verbose)
       lp->stopped = 1;
     }
 
-  if (verbose)
-    printf_filtered (_("[New %s]\n"), target_pid_to_str (ptid));
-
   return 0;
 }
 
@@ -2090,8 +2087,6 @@ retry:
                }
 
              add_thread (lp->ptid);
-             printf_unfiltered (_("[New %s]\n"),
-                                target_pid_to_str (lp->ptid));
            }
 
          /* Save the trap's siginfo in case we need it later.  */
This page took 0.024322 seconds and 4 git commands to generate.