summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-09-18 01:11:24 +0000
committermidipix <writeonce@midipix.org>2019-09-19 03:34:00 +0000
commit76dafe56a4c06427cab68118c733768a14b4cd4b (patch)
tree6af895ee3807f738943611fc0d34de95ee1c0b34
parent1cac18b056bcae7fb1c254a73c4deda1a2661977 (diff)
downloadchainport-76dafe56a4c06427cab68118c733768a14b4cd4b.tar.bz2
chainport-76dafe56a4c06427cab68118c733768a14b4cd4b.tar.xz
mgdb: winnt_resume_one(): resume thread as needed.
-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);