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]

gdb + remote qemu, Ctrl-C does not work


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


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