This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/commit 1/3] Do not call detach_breakpoints in inf_ttrace_follow_fork.
- From: Pedro Alves <palves at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 26 Jul 2012 17:07:32 +0100
- Subject: Re: [RFA/commit 1/3] Do not call detach_breakpoints in inf_ttrace_follow_fork.
- References: <1339698545-13126-1-git-send-email-brobecker@adacore.com> <1339698545-13126-2-git-send-email-brobecker@adacore.com> <4FE33182.6010606@redhat.com> <20120621211631.GF2799@adacore.com>
On 06/21/2012 10:16 PM, Joel Brobecker wrote:
> Hi Pedro,
>
> Thanks for the review!
>
>> Only in the fork case, and only from the child. vfork is more
>> complicated. See linux-nat.c:linux_child_follow_fork:
>
> Ooops! I did go a little too fast...
>
> Would the attached patch be more correct?
Yes, thanks.
--
Pedro Alves