* infcmd.c (continue_1): Add an ERROR_NO_INFERIOR call.
authorPedro Alves <palves@redhat.com>
Thu, 14 Aug 2008 01:39:24 +0000 (01:39 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 14 Aug 2008 01:39:24 +0000 (01:39 +0000)
gdb/ChangeLog
gdb/infcmd.c

index ca1a7efd559997d788b362eb503535219ed20fa1..f246016442b0d7d871ed80999640d24e75b76957 100644 (file)
@@ -1,3 +1,7 @@
+2008-08-14  Pedro Alves  <pedro@codesourcery.com>
+
+       * infcmd.c (continue_1): Add an ERROR_NO_INFERIOR call.
+
 2008-08-13  Pedro Alves  <pedro@codesourcery.com>
 
        * breakpoint.c (always_inserted_auto, always_inserted_on)
index 572555c69d5881f614c19c394c2ec1bbc7b989a1..82d4710d1ddf798f982affc77aa4eafe0a80185a 100644 (file)
@@ -614,6 +614,8 @@ proceed_thread_callback (struct thread_info *thread, void *arg)
 void
 continue_1 (int all_threads)
 {
+  ERROR_NO_INFERIOR;
+
   if (non_stop && all_threads)
     {
       /* Don't error out if the current thread is running, because