Re: [PATCH 2/8] Delete reinsert breakpoints from forked child

Pedro Alves
2016-05-24T16:06:39Z

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