This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Single Step command
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.
> >
> >