diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/ser-tcp.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 468447d..a0fb3cf 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2021-01-21 Simon Marchi <simon.marchi@polymtl.ca> + + * ser-tcp.c (wait_for_connect): Use interruptible_select instead + of gdb_select. + 2021-01-21 Hannes Domani <ssbssa@yahoo.de> PR python/19151 diff --git a/gdb/ser-tcp.c b/gdb/ser-tcp.c index 019aa4e5..e79c9e6 100644 --- a/gdb/ser-tcp.c +++ b/gdb/ser-tcp.c @@ -144,7 +144,7 @@ wait_for_connect (int sock, unsigned int *polls) else /* Use gdb_select here, since we have no file descriptors, and on Windows, plain select doesn't work in that case. */ - n = gdb_select (0, NULL, NULL, NULL, &t); + n = interruptible_select (0, NULL, NULL, NULL, &t); /* If we didn't time out, only count it as one poll. */ if (n > 0 || *polls < POLL_INTERVAL) |