summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-09-15 21:15:25 +0000
committermidipix <writeonce@midipix.org>2019-09-16 07:07:34 +0000
commit726ed01920804bc3cce70bb01c62588945768469 (patch)
treed6930985ceca978feed483efb3f596ae4dc42097
parent0354669846be9be0d0353a6aa83297a1021c910d (diff)
downloadchainport-726ed01920804bc3cce70bb01c62588945768469.tar.bz2
chainport-726ed01920804bc3cce70bb01c62588945768469.tar.xz
mgdb: winnt_wait_event(): use __dbg_event_acquire() (a better match for gdb).
-rw-r--r--overlay/mgdb/gdb/winnt-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/overlay/mgdb/gdb/winnt-nat.c b/overlay/mgdb/gdb/winnt-nat.c
index a253426..9f25f4e 100644
--- a/overlay/mgdb/gdb/winnt-nat.c
+++ b/overlay/mgdb/gdb/winnt-nat.c
@@ -753,7 +753,7 @@ static struct __dbg_event * winnt_wait_event(ptid_t ptid)
if (!pfd)
return 0;
- if (__dbg_event_query_one(pfd->fd,&event) < 0)
+ if (__dbg_event_acquire(pfd->fd,&event) < 0)
return 0;
if (!(pidinfo = winnt_process_record(event.syspid)))