gdb + remote qemu, Ctrl-C does not work

dpc@ucore.info dpc@ucore.info
Tue Mar 1 14:48:00 GMT 2011


Hi,

I have a little problem with arm-none-eabi-gdb that I'm debugging
remote qemu-system-arm targets.

The problem is: Ctrl-C does not break qemu target, but disconnects
qemu completely.

(gdb) c
Continuing.
^CRemote communication error.  Target disconnected.: Connection reset by peer.


GDB is not offering me the Ctrl-C sequence to break execution (like my
native gdb does) so I guess I should use some different options
because what I know is (I've tried), that sending SIGINT to
arm-none-eabi-gdb process does break the execution. I see no reason
Ctrl-C could not work if sending SIGINT does.

I'm using default options and here are some relevant version strings:

$ arm-none-eabi-gdb --version
GNU gdb (Sourcery G++ Lite 2010.09-51) 7.2.50.20100908-cvs
$ uname -a
Linux mutex 2.6.35-27-generic #48-Ubuntu SMP Tue Feb 22 20:25:46 UTC
2011 x86_64 GNU/Linux

Much appreciated.

Regards,
Dawid

--
http://dpc.ucore.info



More information about the Gdb mailing list