projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move wait_for_debug_event to nat/windows-nat.c
[deliverable/binutils-gdb.git]
/
gdb
/
nat
/
windows-nat.c
diff --git
a/gdb/nat/windows-nat.c
b/gdb/nat/windows-nat.c
index 823471eb4dabe18872a4142a98f3821c7e56e8ed..bb28e9b13c71217fbba38b8d5718fa0b08f7fc85 100644
(file)
--- a/
gdb/nat/windows-nat.c
+++ b/
gdb/nat/windows-nat.c
@@
-385,5
+385,15
@@
continue_last_debug_event (DWORD continue_status, bool debug_events)
continue_status);
}
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.039321 seconds
and
4
git commands to generate.