Make target_ops::has_execution take an 'inferior *' instead of a ptid_t
[deliverable/binutils-gdb.git] / gdb / inferior.c
index 98829252e5cf065cf6232f9b139b32de7ad0b607..3969ace13a848a411b6944ef45cf9cbfe0f7fcf8 100644 (file)
@@ -345,7 +345,7 @@ number_of_live_inferiors (void)
   int num_inf = 0;
 
   for (inferior *inf : all_non_exited_inferiors ())
-    if (target_has_execution_1 (ptid_t (inf->pid)))
+    if (inf->has_execution ())
       for (thread_info *tp ATTRIBUTE_UNUSED : inf->non_exited_threads ())
        {
          /* Found a live thread in this inferior, go to the next
This page took 0.022938 seconds and 4 git commands to generate.