From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26843 invoked by alias); 19 Nov 2007 14:23:32 -0000 Received: (qmail 26834 invoked by uid 22791); 19 Nov 2007 14:23:32 -0000 X-Spam-Check-By: sourceware.org Received: from bluesmobile.specifix.com (HELO bluesmobile.specifix.com) (216.129.118.140) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 19 Nov 2007 14:23:27 +0000 Received: from [127.0.0.1] (bluesmobile.specifix.com [216.129.118.140]) by bluesmobile.specifix.com (Postfix) with ESMTP id 4CCA23BF1A; Mon, 19 Nov 2007 06:03:31 -0800 (PST) Subject: Re: Single Step command From: Michael Snyder To: Guillaume MENANT Cc: Andreas Schwab , gdb@sourceware.org In-Reply-To: <47419A1B.50605@geensys.com> References: <474195FA.1000605@geensys.com> <47419A1B.50605@geensys.com> Content-Type: text/plain; charset=utf-8 Date: Mon, 19 Nov 2007 14:23:00 -0000 Message-Id: <1195481572.23780.7.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 (2.10.3-4.fc7) Content-Transfer-Encoding: 8bit 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: 2007-11/txt/msg00188.txt.bz2 OK -- it means that if the optional address is supplied, the program counter will be loaded with that address BEFORE the step is executed. Semantically it is the same as a goto followed by a step. On Mon, 2007-11-19 at 15:13 +0100, Guillaume MENANT wrote: > Yes, i read it too but i'm not sure i've well understand these sentences > (i'm french). > > Guillaume MENANT > > > Andreas Schwab a écrit : > > Guillaume MENANT writes: > > > > > >> Hello, > >> 1 - The "s" (Single Step) command has an optionnal address value. How does > >> it works ? It's like a "run until" this address ? > >> > > > > >From the gdb documentation: > > > > `s [ADDR]' > > Single step. ADDR is the address at which to resume. If ADDR is > > omitted, resume at same address. > > > > Andreas. > > > >