aboutsummaryrefslogtreecommitdiff
path: root/gdb/windows-nat.c
diff options
context:
space:
mode:
authorHannes Domani <ssbssa@yahoo.de>2022-11-28 19:43:06 +0100
committerHannes Domani <ssbssa@yahoo.de>2022-11-28 20:46:01 +0100
commit0d146c1c5fd1ae18b0e0d5a1ace066f41639a48f (patch)
treeb637e23986584b5f7e9ca64fc16d75eb0b1b157e /gdb/windows-nat.c
parent23d04cffa847ab39e259ad262526f66d4fad1874 (diff)
downloadfsf-binutils-gdb-0d146c1c5fd1ae18b0e0d5a1ace066f41639a48f.zip
fsf-binutils-gdb-0d146c1c5fd1ae18b0e0d5a1ace066f41639a48f.tar.gz
fsf-binutils-gdb-0d146c1c5fd1ae18b0e0d5a1ace066f41639a48f.tar.bz2
Actually set m_is_async to current async mode
Looks like this was missed in the async mode implementation.
Diffstat (limited to 'gdb/windows-nat.c')
-rw-r--r--gdb/windows-nat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c
index 6da6757..e2d2176 100644
--- a/gdb/windows-nat.c
+++ b/gdb/windows-nat.c
@@ -427,6 +427,8 @@ windows_nat_target::async (bool enable)
nullptr, "windows_nat_target");
else
delete_file_handler (async_wait_fd ());
+
+ m_is_async = enable;
}
/* A wrapper for WaitForSingleObject that issues a warning if