Move wait_for_debug_event to nat/windows-nat.c
[deliverable/binutils-gdb.git] / gdb / nat / windows-nat.c
index 823471eb4dabe18872a4142a98f3821c7e56e8ed..bb28e9b13c71217fbba38b8d5718fa0b08f7fc85 100644 (file)
@@ -385,5 +385,15 @@ continue_last_debug_event (DWORD continue_status, bool debug_events)
                             continue_status);
 }
 
+/* See nat/windows-nat.h.  */
+
+BOOL
+wait_for_debug_event (DEBUG_EVENT *event, DWORD timeout)
+{
+  BOOL result = WaitForDebugEvent (event, timeout);
+  if (result)
+    last_wait_event = *event;
+  return result;
+}
 
 }
This page took 0.023652 seconds and 4 git commands to generate.