From: Hannes Domani Date: Mon, 28 Nov 2022 18:43:06 +0000 (+0100) Subject: Actually set m_is_async to current async mode X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0d146c1c5fd1ae18b0e0d5a1ace066f41639a48f;p=binutils-gdb.git Actually set m_is_async to current async mode Looks like this was missed in the async mode implementation. --- 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