This is the mail archive of the gdb@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]

Re: gdb + remote qemu, Ctrl-C does not work


On Wednesday 02 March 2011 13:07:19, Tristan Gingold wrote:
> >  Notice on your OP:
> > 
> > Continuing.
> > ^CRemote communication error.  Target disconnected.: Connection reset by peer.
> >                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> IIRC we also had this issue.  This was due to the fact that qemu exits before acking the packet.
> 

I've seen that happen on a "quit/kill", due to the fact that
the 'k' packet (kill) does not require a reply.

But in this case, why would qemu exit at all before acking
the packet?  This is about interrupting the target with ctrl-c, not
killing/quiting.

-- 
Pedro Alves


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