From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1894 invoked by alias); 4 Nov 2005 14:27:07 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 1834 invoked by uid 22791); 4 Nov 2005 14:27:04 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 04 Nov 2005 14:27:04 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1EY2X0-0000YK-5Y; Fri, 04 Nov 2005 09:27:02 -0500 Date: Fri, 04 Nov 2005 14:27:00 -0000 From: Daniel Jacobowitz To: Efim Monjak Cc: gdb@sources.redhat.com Subject: Re: break of close loop Message-ID: <20051104142702.GB1842@nevyn.them.org> Mail-Followup-To: Efim Monjak , gdb@sources.redhat.com References: <436B2677.4020802@lipowsky.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <436B2677.4020802@lipowsky.de> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-11/txt/msg00100.txt.bz2 On Fri, Nov 04, 2005 at 10:14:31AM +0100, Efim Monjak wrote: > Hi, > > as I see the step for debugger is not the same as stepi. > After step command debugger try to go to the next source line. > I think it checks for number of source line. > I mean many single steps can be done before an another source > line is recognised. Recognising of an other source line is need > to complete the step command. > After single step command only one single step is done. I don't know > if for an other address is checked or single step responce is enougth > to complete the single step. Then your stub is simply wrong. GDB expects a single step instruction to execute a single instruction, not until the address changes. -- Daniel Jacobowitz CodeSourcery, LLC