Re: [PATCH 02/12] More assert checks on reinsert breakpoint

Pedro Alves
2016-06-13T14:25:25Z

On 06/02/2016 10:30 AM, Yao Qi wrote:
> This patch adds more asserts, so the incorrect or sub-optimal
> reinsert breakpoints manipulations (from the tests in the following
> patches) can trigger them.
>
> gdb/gdbserver:
>
> 2016-05-25 Yao Qi <yao.qi@linaro.org>
>
> * linux-low.c (linux_resume_one_lwp_throw): Assert
> has_reinsert_breakpoints returns false.
> * mem-break.c (delete_disabled_breakpoints): Assert
> bp type isn't reinsert_breakpoint.

OK.

Thanks,
Pedro Alves