This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Stepping off breakpoints in non-stop debugging mode (resubmit)


A Thursday 10 April 2008 21:00:04, Eli Zaretskii escreveu:
> > From: Pedro Alves <pedro@codesourcery.com>
> > Date: Thu, 10 Apr 2008 11:49:35 +0100
> >
> > How about this?
> >
> > @kindex maint set can-use-displaced-stepping
> > @kindex maint show can-use-displaced-stepping
> > @cindex displaced stepping support
> > @item maint set can-use-displaced-stepping
> > @itemx maint show can-use-displaced-stepping
> > Control whether or not @value{GDBN} will do displaced stepping if the
> > target supports it.  The default is on.  Displaced stepping is a way
> > to single-step over breakpoints without removing them from the
> > inferior, by executing an out-of-line copy of the instruction under
> > the breakpoint.  It is also known as out-of-line single-stepping.
>
> This is okay, but instead of ``under the breakpoint'' I'd suggest to
> say ``at the breakpoint location''.
>

Not sure about that.  There seems to be an ambiguity with the
word "location", because depending on how you parse it, it can sound
that's where the copy is being executed.  Is it just me?

"by executing an out-of-line copy of the instruction at the breakpoint 
location."

> >  +Displays the current state of displaying @value{GDBN} displaced
> > stepping +debugging info.
>
> This is fine, but I think this is even better:
>
>   +Displays the current state of displaying @value{GDBN} debugging
>   +info related to displaced stepping.
>

Thanks.  I've updated to that form.

-- 
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]