This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug remote/17028] GDB+GDBserver hangs on Windows waiting for stop event since target-async on by default


https://sourceware.org/bugzilla/show_bug.cgi?id=17028

--- Comment #8 from Pedro Alves <palves at redhat dot com> ---
I tried now reading commands from a script, to check whether stdin getting
signalled as ready for gdb_select too early might have something to do with it.
But I can still trigger the issue that way:

$ cat test.cmd
tar rem :9999
tb increment
c

set debug remote 1
while 1
  next
  end

$ gdb ... -x test.cmd

...
19        increment (&i);
Sending packet: $vCont;s:610;c#27...Packet received:
T0505:c8fe2800;04:a0fe2800;08:d0154000;thread:610;
Sending packet: $vCont;s:610;c#27...Packet received:
T0505:c8fe2800;04:a0fe2800;08:d3154000;thread:610;
Sending packet: $vCont;s:610;c#27...
*hang*

Well, at least it's a little easier to reproduce that way.  :-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]