This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug remote/17028] GDB+GDBserver hangs on Windows waiting for stop event since target-async on by default
- From: "brobecker at adacore dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 06 Jun 2014 23:29:39 +0000
- Subject: [Bug remote/17028] GDB+GDBserver hangs on Windows waiting for stop event since target-async on by default
- Auto-submitted: auto-generated
- References: <bug-17028-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17028
--- Comment #5 from brobecker at adacore dot com ---
I am discovering quite a bit with this PR, and one of the things
I discovered is that we use a thread to perform select calls.
That might explains the racy nature of this bug, and why adding
traces ahead of the call to WaitForMultipleObjects seems to hide
the issue. Putting some small traces in net_windows_wait_handle
seems to indicate that sometimes the answer comes back fast enough
that we don't need to start the select thread, while other times
we do, and it's completely random - we must be right around
the edge. It doesn't explain yet why turning target-async mode on
would make any difference.
--
You are receiving this mail because:
You are on the CC list for the bug.