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 2/8] Delete reinsert breakpoints from forked child


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


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