This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 01/12] Switch to current thread in finish_step_over
- From: Pedro Alves <palves at redhat dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>, gdb-patches at sourceware dot org
- Date: Mon, 13 Jun 2016 15:24:53 +0100
- Subject: Re: [PATCH 01/12] Switch to current thread in finish_step_over
- Authentication-results: sourceware.org; auth=none
- References: <1464859846-15619-1-git-send-email-yao dot qi at linaro dot org> <1464859846-15619-2-git-send-email-yao dot qi at linaro dot org>
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