Do the target-waiting within do_initial_child_stuff on Windows.
[deliverable/binutils-gdb.git] / gdb / gdbserver / ChangeLog
index 26d305e01e149512d92da477914d43ca7e89f221..9f8eb9ef378dec5006725fbb7b483a3dc21f5a7c 100644 (file)
@@ -1,3 +1,18 @@
+2013-12-13  Pedro Alves  <palves@redhat.com>
+
+       * target.c (mywait): Set OURSTATUS->KIND to TARGET_WAITKIND_STOPPED
+       if equal to TARGET_WAITKIND_LOADED.
+       * win32-low.c (cached_status): New static global.
+       (win32_wait): Add declaration.
+       (do_initial_child_stuff): Flush all initial pending debug events
+       up to the initial breakpoint.
+       (win32_wait): If CACHED_STATUS was set, return that instead
+       of doing a real wait.  Remove the code resuming the execution
+       of the inferior after receiving a TARGET_WAITKIND_LOADED event
+       during the initial phase.  Also remove the code changing
+       OURSTATUS->KIND from TARGET_WAITKIND_LOADED to
+       TARGET_WAITKIND_STOPPED.
+
 2013-12-11  Yao Qi  <yao@codesourcery.com>
 
        * notif.c (handle_notif_ack): Return 0 if no notification
This page took 0.023618 seconds and 4 git commands to generate.