diff options
author | midipix <writeonce@midipix.org> | 2019-09-15 02:42:18 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-09-16 07:07:34 +0000 |
commit | a310e779ee60e4054794f09a32131f0142535624 (patch) | |
tree | 22becc0cd62931a1ac70e22ff18e06ea9ba2b351 | |
parent | 8d9fdb008934d0d16003d1e09c2975aa26363276 (diff) | |
download | chainport-a310e779ee60e4054794f09a32131f0142535624.tar.bz2 chainport-a310e779ee60e4054794f09a32131f0142535624.tar.xz |
mgdb: winnt_prepare(): __dbg_event_acquire() now supports blocking calls.
-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 15e8131..e326578 100644 --- a/overlay/mgdb/gdb/winnt-nat.c +++ b/overlay/mgdb/gdb/winnt-nat.c @@ -551,7 +551,7 @@ static void winnt_prepare (struct target_ops * t, pid_t pid, int pfd, int attach while (1) { do { ret = __dbg_event_acquire(pfd,event); - } while ((ret < 0) && (errno == EAGAIN)); + } while ((ret < 0) && (errno == EINTR)); if (ret < 0) winnt_perror("failed to acquire preliminary debug event",pid); |