[PATCH 01/12] Switch to current thread in finish_step_over
Pedro Alves
palves@redhat.com
Mon Jun 13 14:25:00 GMT 2016
On 06/02/2016 10:30 AM, Yao Qi wrote:
> V2: move current_thread switch into finsh_step_over
Thanks.
> This patch switched current_thread to the thread we are doing step-over
> in complete_ongoing_step_over.
>
^ This sentence is now stale.
> gdb/gdbserver:
>
> 2016-05-31 Yao Qi <yao.qi@linaro.org>
>
> * linux-low.c (maybe_hw_step): New function.
> (linux_resume_one_lwp_throw): Call maybe_hw_step.
> (finish_step_over): Switch current_thread to lwp temporarily,
> and assert has_reinsert_breakpoints returns true.
> (proceed_one_lwp): Call maybe_hw_step.
> * mem-break.c (has_reinsert_breakpoints): New function.
> * mem-break.h (has_reinsert_breakpoints): Declare.
Otherwise OK.
Thanks,
Pedro Alves
More information about the Gdb-patches
mailing list