Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Michael Snyder <msnyder@specifix.com>
To: Guillaume MENANT <guillaume.menant@geensys.com>
Cc: Andreas Schwab <schwab@suse.de>, gdb@sourceware.org
Subject: Re: Single Step command
Date: Mon, 19 Nov 2007 14:23:00 -0000	[thread overview]
Message-ID: <1195481572.23780.7.camel@localhost.localdomain> (raw)
In-Reply-To: <47419A1B.50605@geensys.com>

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 <guillaume.menant@geensys.com> 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.
> >
> >   


  reply	other threads:[~2007-11-19 14:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-19 13:56 Guillaume MENANT
2007-11-19 14:08 ` Andreas Schwab
2007-11-19 14:13   ` Guillaume MENANT
2007-11-19 14:23     ` Michael Snyder [this message]
2007-11-19 14:18 ` Michael Snyder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1195481572.23780.7.camel@localhost.localdomain \
    --to=msnyder@specifix.com \
    --cc=gdb@sourceware.org \
    --cc=guillaume.menant@geensys.com \
    --cc=schwab@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox