This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 02/12] More assert checks on reinsert breakpoint
- 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:25:12 +0100
- Subject: Re: [PATCH 02/12] More assert checks on reinsert breakpoint
- Authentication-results: sourceware.org; auth=none
- References: <1464859846-15619-1-git-send-email-yao dot qi at linaro dot org> <1464859846-15619-3-git-send-email-yao dot qi at linaro dot org>
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