if (inf->vfork_child != NULL)
        {
-         linux_nat_debug_printf ("Not resuming %s (vfork parent)",
+         linux_nat_debug_printf ("Not resuming sibling %s (vfork parent)",
                                  lp->ptid.to_string ().c_str ());
        }
       else if (!lwp_status_pending_p (lp))
 {
   inferior *inf = find_inferior_ptid (linux_target, lp->ptid);
 
-  if (inf->vfork_child != nullptr)
-    {
-      linux_nat_debug_printf ("NOT resuming LWP %s (vfork parent)",
-                             lp->ptid.to_string ().c_str ());
-    }
-  else if (!lp->stopped)
+  if (!lp->stopped)
     {
       linux_nat_debug_printf ("NOT resuming LWP %s, not stopped",
                              lp->ptid.to_string ().c_str ());
       linux_nat_debug_printf ("NOT resuming LWP %s, has pending status",
                              lp->ptid.to_string ().c_str ());
     }
+  else if (inf->vfork_child != nullptr)
+    {
+      linux_nat_debug_printf ("NOT resuming LWP %s (vfork parent)",
+                             lp->ptid.to_string ().c_str ());
+    }
   else
     {
       struct regcache *regcache = get_thread_regcache (linux_target, lp->ptid);