public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Actually set m_is_async to current async mode
@ 2022-11-28 19:45 Hannes Domani
  0 siblings, 0 replies; only message in thread
From: Hannes Domani @ 2022-11-28 19:45 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0d146c1c5fd1ae18b0e0d5a1ace066f41639a48f

commit 0d146c1c5fd1ae18b0e0d5a1ace066f41639a48f
Author: Hannes Domani <ssbssa@yahoo.de>
Date:   Mon Nov 28 19:43:06 2022 +0100

    Actually set m_is_async to current async mode
    
    Looks like this was missed in the async mode implementation.

Diff:
---
 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-11-28 19:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-28 19:45 [binutils-gdb] Actually set m_is_async to current async mode Hannes Domani

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).