]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/inf-loop.c
Remove target_has_execution macro
[thirdparty/binutils-gdb.git] / gdb / inf-loop.c
index cf746b8588cc231e5467f29164bc5ee785032681..68c94d9e942c22a7ccf72135231d2906e1ad70cd 100644 (file)
@@ -48,7 +48,7 @@ inferior_event_handler (enum inferior_event_type event_type)
          /* Unregister the inferior from the event loop.  This is done
             so that when the inferior is not running we don't get
             distracted by spurious inferior output.  */
-         if (target_has_execution && target_can_async_p ())
+         if (target_has_execution () && target_can_async_p ())
            target_async (0);
        }