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 01/12] Switch to current thread in finish_step_over


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


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