* remote.c (remote_start_remote): Add missing call to
authorPedro Alves <palves@redhat.com>
Wed, 18 Mar 2009 01:29:27 +0000 (01:29 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 18 Mar 2009 01:29:27 +0000 (01:29 +0000)
init_wait_for_inferior in non-stop mode.

gdb/ChangeLog
gdb/remote.c

index a57510148bba56217f078333d4d1aca5b463e07d..4c04a74cf08632f140b0c70fc32bd5046990db28 100644 (file)
@@ -1,3 +1,8 @@
+2009-03-18  Pedro Alves  <pedro@codesourcery.com>
+
+       * remote.c (remote_start_remote): Add missing call to
+       init_wait_for_inferior in non-stop mode.
+
 2009-03-18  Pedro Alves  <pedro@codesourcery.com>
 
        * breakpoint.c (bpstat_should_step): Only consider software
index e3a7170bb3893644c6148de0015882c82b2e829c..a1904867d5014380cc09427fde9494d9f9184656 100644 (file)
@@ -2802,6 +2802,8 @@ remote_start_remote (struct ui_out *uiout, void *opaque)
       /* In non-stop mode, any cached wait status will be stored in
         the stop reply queue.  */
       gdb_assert (wait_status == NULL);
+
+      init_wait_for_inferior ();
     }
 
   /* If we connected to a live target, do some additional setup.  */