X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Finferior.c;h=3969ace13a848a411b6944ef45cf9cbfe0f7fcf8;hb=5018ce90c1205d79f29adf954b0fd5e613d08430;hp=98829252e5cf065cf6232f9b139b32de7ad0b607;hpb=74375d182e992778ef8701278c02a742db6be77e;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/inferior.c b/gdb/inferior.c index 98829252e5..3969ace13a 100644 --- a/gdb/inferior.c +++ b/gdb/inferior.c @@ -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