* infrun.c (handle_inferior_event): When handling a
TARGET_WAITKIND_FORKED, detach breakpoints from the fork child
immediatelly.
- * linux-nat.c (linux_child_follow_fork): Only detach breakpoint
+ * linux-nat.c (linux_child_follow_fork): Only detach breakpoints
from the child if vforking.
* inf-ptrace.c (inf_ptrace_follow_fork): No need to detach
breakpoints from the child here.