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: "palves at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 09 Jun 2014 16:04:13 +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 #6 from Pedro Alves <palves at redhat dot com> ---
I changed the test to loop forever, like:
void
increment (int *i)
{
*i++;
}
int
main (void)
{
int i = 0;
again:
increment (&i);
increment (&i);
increment (&i);
increment (&i);
increment (&i);
increment (&i);
increment (&i);
increment (&i);
increment (&i);
increment (&i);
increment (&i);
increment (&i);
increment (&i);
increment (&i);
increment (&i);
increment (&i);
increment (&i);
increment (&i);
increment (&i);
increment (&i);
increment (&i);
goto again;
}
And I managed to reproduce it too:
Sending packet: $vCont;s:9c0;c#5c...
*hang*
This is on Windows 7, 64-bit, in case we're hitting a Windows bug.
--
You are receiving this mail because:
You are on the CC list for the bug.