* inftarg.c (child_thread_alive): New function to see if a
[deliverable/binutils-gdb.git] / gdb / inflow.c
index 53b42ef7a84e34972aa3f025fac543856f9e4ce4..353c6c4ee3f417c72515397fdb3f257c5ef6ed4c 100644 (file)
@@ -533,8 +533,7 @@ kill_command (arg, from_tty)
      char *arg;
      int from_tty;
 {
-  /* Shouldn't this be target_has_execution?  FIXME.  */
-  if (inferior_pid == 0)
+  if (!target_has_execution)
     error ("The program is not being run.");
   if (!query ("Kill the program being debugged? "))
     error ("Not confirmed.");
This page took 0.02343 seconds and 4 git commands to generate.