Re: [PATCH v3 05/17] Embed the pending step-over chain in thread_info objects

Pedro Alves
2015-04-22T22:19:23Z

On 04/22/2015 05:24 AM, Doug Evans wrote:

> > --- a/gdb/infrun.c
> > +++ b/gdb/infrun.c
> >...
> > @@ -1855,24 +1842,44 @@ displaced_step_fixup (ptid_t event_ptid, enum gdb_signal signal)
> > do_cleanups (old_cleanups);
> >
> > displaced->step_ptid = null_ptid;
> > +}
> >
> > - /* Are there any pending displaced stepping requests? If so, run
> > - one now. Leave the state object around, since we're likely to
> > - need it again soon. */
> > - while (displaced->step_request_queue)
> > +/* Are there any pending step-over requests? If so, run one now. */
>
> Hi.
>
> Nit: IIUC "run one now" should read "run all we can now".

Thanks, I did that change.

--
Pedro Alves