This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
gdb + remote qemu, Ctrl-C does not work
- From: "dpc at ucore dot info" <dpc at ucore dot info>
- To: gdb at sourceware dot org
- Date: Tue, 1 Mar 2011 15:47:57 +0100
- Subject: gdb + remote qemu, Ctrl-C does not work
- References: <AANLkTimvhnQs_4gTkaU_xfgjnm0G=Qkm-ZdzVYJ9nmfK@mail.gmail.com>
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