From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29636 invoked by alias); 27 Oct 2005 14:34:28 -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 29608 invoked by uid 22791); 27 Oct 2005 14:34:20 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 27 Oct 2005 14:34:20 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1EV8pe-0006E2-04; Thu, 27 Oct 2005 10:34:18 -0400 Date: Thu, 27 Oct 2005 14:34:00 -0000 From: Daniel Jacobowitz To: Efim Monjak Cc: gdb@sources.redhat.com Subject: Re: break of time loop Message-ID: <20051027143417.GA23869@nevyn.them.org> Mail-Followup-To: Efim Monjak , gdb@sources.redhat.com References: <4360DE7F.5020504@lipowsky.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4360DE7F.5020504@lipowsky.de> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-10/txt/msg00162.txt.bz2 On Thu, Oct 27, 2005 at 04:04:47PM +0200, Efim Monjak wrote: > 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? Sorry, I'm not sure I understand your question. Can you give us a transcript of the remote protocol session (set debug remote 1) that you think is wrong? If GDB sends an interrupt to the remote target, the target should return a stop response (T packet, above). At that point the target is stopped. There shouldn't be another response to any pending step commands. -- Daniel Jacobowitz CodeSourcery, LLC