From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26272 invoked by alias); 1 Mar 2011 14:48:06 -0000 Received: (qmail 26258 invoked by uid 22791); 1 Mar 2011 14:48:05 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,TW_QE X-Spam-Check-By: sourceware.org Received: from mail-bw0-f41.google.com (HELO mail-bw0-f41.google.com) (209.85.214.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 01 Mar 2011 14:48:01 +0000 Received: by bwz17 with SMTP id 17so5451936bwz.0 for ; Tue, 01 Mar 2011 06:47:59 -0800 (PST) MIME-Version: 1.0 Received: by 10.204.72.137 with SMTP id m9mr5988417bkj.191.1298990878007; Tue, 01 Mar 2011 06:47:58 -0800 (PST) Received: by 10.204.53.200 with HTTP; Tue, 1 Mar 2011 06:47:57 -0800 (PST) In-Reply-To: References: Date: Tue, 01 Mar 2011 14:48:00 -0000 Message-ID: Subject: gdb + remote qemu, Ctrl-C does not work From: "dpc@ucore.info" To: gdb@sourceware.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-03/txt/msg00001.txt.bz2 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. =C2=A0Target 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