This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/8] Delete reinsert breakpoints from forked child
- From: Pedro Alves <palves at redhat dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>, gdb-patches at sourceware dot org
- Date: Tue, 24 May 2016 17:06:26 +0100
- Subject: Re: [PATCH 2/8] Delete reinsert breakpoints from forked child
- Authentication-results: sourceware.org; auth=none
- References: <1463757161-25850-1-git-send-email-yao dot qi at linaro dot org> <1463757161-25850-3-git-send-email-yao dot qi at linaro dot org>
On 05/20/2016 04:12 PM, Yao Qi wrote:
> gdb/gdbserver:
>
> 2016-05-20 Yao Qi <yao.qi@linaro.org>
>
> * linux-low.c (handle_extended_wait): If the parent is doing
> step-over, remove the reinsert breakpoints from the child.
Don't we need to handle vfork differently? Removing a breakpoint
from the child removes it from the parent too, since they're
sharing memory.
Thanks,
Pedro Alves