diff options
-rw-r--r-- | overlay/mgdb/gdb/winnt-nat.c | 2 |
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))) |