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: [PATCH v3 05/17] Embed the pending step-over chain in thread_info objects


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


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