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 gdb/17096] async support breaks remote debugging on Windows


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

--- Comment #6 from Pedro Alves <palves at redhat dot com> ---
> Sending packet: $c#63...
> 
> ### Ctrl+C gives no effect, shutting down remote GDBserver ###
> 
> async_remote_interrupt called
> remote_stop called
> Remote communication error.  Target disconnected.: No error.
> (gdb) async_remote_interrupt_twice called

That "remote_stop called" log indicates that GDB asked the remote end to
stop.  But, if that "remote_stop called" output really comes out only _after_
you close GDBserver, then it looks like the ctrl-c event is not waking up
gdb_select or the event loop, and it's only being processed when the connection
is closed, which itself also wakes up the event loop...  Sounds like another
gdb_select issue...

-- 
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]