From 0d146c1c5fd1ae18b0e0d5a1ace066f41639a48f Mon Sep 17 00:00:00 2001 From: Hannes Domani Date: Mon, 28 Nov 2022 19:43:06 +0100 Subject: [PATCH] Actually set m_is_async to current async mode Looks like this was missed in the async mode implementation. --- gdb/windows-nat.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index 6da6757acaf..e2d2176f138 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 -- 2.30.2