summaryrefslogtreecommitdiff
path: root/overlay/mgdb/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'overlay/mgdb/gdb')
-rw-r--r--overlay/mgdb/gdb/winnt-nat.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/overlay/mgdb/gdb/winnt-nat.c b/overlay/mgdb/gdb/winnt-nat.c
index d1e6a00..a2c2006 100644
--- a/overlay/mgdb/gdb/winnt-nat.c
+++ b/overlay/mgdb/gdb/winnt-nat.c
@@ -415,10 +415,7 @@ static ptid_t winnt_wait(
if (__dbg_event_query_one(pfd->fd,&dbgevent) < 0)
return null_ptid;
- return ptid_build(
- dbgevent.cpid ? dbgevent.cpid : dbgevent.syspid,
- 0,
- dbgevent.ctid ? dbgevent.ctid : dbgevent.systid);
+ return ptid_build(dbgevent.syspid,0,dbgevent.systid);
}
static void winnt_resume (