Split size in regset section iterators
[deliverable/binutils-gdb.git] / gdb / infcmd.c
index 821bcc6544c2e5c9e3ef4a0a94466ba834495e72..74d5956765f1cf5acedc0e7d1407f7398ffdabbe 100644 (file)
@@ -2091,7 +2091,7 @@ info_program_command (const char *args, int from_tty)
       get_last_target_status (&ptid, &ws);
     }
 
-  if (ptid == null_ptid)
+  if (ptid == null_ptid || ptid == minus_one_ptid)
     error (_("No selected thread."));
 
   thread_info *tp = find_thread_ptid (ptid);
This page took 0.025914 seconds and 4 git commands to generate.