Allow 0 threads found - during early threads initialization.
authorlace <>
Sat, 16 Jun 2007 13:33:28 +0000 (13:33 +0000)
committerlace <>
Sat, 16 Jun 2007 13:33:28 +0000 (13:33 +0000)
debugger.c

index 43cb370..ffea7de 100644 (file)
@@ -577,7 +577,8 @@ static void attach_multi (struct attach_state_struct *attach_state)
       fprintf (stderr, "err = %d\n", err);
       abort ();
     }
-  assert (attach_state->threads_count > 0);
+  /* Do not: assert (attach_state->threads_count > 0);
+     as during early initialization we really may get 0.  */
 }
 
 struct attach_state_struct *attach (pid_t pid)