summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--overlay/mgdb/gdb/winnt-nat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/overlay/mgdb/gdb/winnt-nat.c b/overlay/mgdb/gdb/winnt-nat.c
index 26c03e6..5e924dc 100644
--- a/overlay/mgdb/gdb/winnt-nat.c
+++ b/overlay/mgdb/gdb/winnt-nat.c
@@ -949,6 +949,9 @@ static void winnt_resume_one(ptid_t ptid, int step, enum gdb_signal sig)
process->event.eresponse = response;
+ while (__dbg_resume_thread(process->pfd,tid) > 1)
+ (void)0;
+
__dbg_event_respond(
process->pfd,
&process->event);