From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5482 invoked by alias); 27 Oct 2005 14:04:54 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 5450 invoked by uid 22791); 27 Oct 2005 14:04:46 -0000 Received: from shadow.prohost.de (HELO shadow.prohost.de) (216.71.84.228) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 27 Oct 2005 14:04:46 +0000 Received: from mail.lipieda (p54A755F8.dip.t-dialin.net [84.167.85.248]) by shadow.prohost.de (8.11.6/8.11.6) with ESMTP id j9RE4iZ05300 for ; Thu, 27 Oct 2005 16:04:44 +0200 Received: from [192.168.129.50] (unknown [192.168.129.50]) by mail.lipieda (Postfix) with ESMTP id BFCC4565A for ; Thu, 27 Oct 2005 16:04:43 +0200 (CEST) Message-ID: <4360DE7F.5020504@lipowsky.de> Date: Thu, 27 Oct 2005 14:04:00 -0000 From: Efim Monjak User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) MIME-Version: 1.0 To: gdb@sources.redhat.com Subject: break of time loop Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-10/txt/msg00161.txt.bz2 Hi all, I try to break a time loop from GDB. The loop is written in form: long l; for(l = 0; l < 0xFFFFFFL; l++) ; The GDB send in this case to target many "step" commands. I try to stop the processing of loop by crtl+c. Target receive code 0x03 and responce it with Packet: TAAn...:r...;n...:r...;n...:r...; there AA ist signal TARGET_SIGNAL_INT = 02. I can see the response from target. It is possible the ctrl+c is sent after "step" command before it is responsed. In this case they are two responsies one after other. But GDB don't stops to send "step" commands. How must be responsed the ctrl+c? thanks