Move wait_for_debug_event to nat/windows-nat.c
[deliverable/binutils-gdb.git] / gdb / windows-nat.c
index 2ee7a2412a9b1dd5e93756871e40bcf185c655f6..cdaca8d0cbf6391b7e0f6412b252ad1515356ddc 100644 (file)
@@ -1495,17 +1495,6 @@ ctrl_c_handler (DWORD event_type)
   return TRUE;
 }
 
-/* A wrapper for WaitForDebugEvent that sets "last_wait_event"
-   appropriately.  */
-static BOOL
-wait_for_debug_event (DEBUG_EVENT *event, DWORD timeout)
-{
-  BOOL result = WaitForDebugEvent (event, timeout);
-  if (result)
-    last_wait_event = *event;
-  return result;
-}
-
 /* Get the next event from the child.  Returns a non-zero thread id if the event
    requires handling by WFI (or whatever).  */
 
This page took 0.024318 seconds and 4 git commands to generate.