* breakpoint.c (should_be_inserted): Don't insert breakpoints if
[deliverable/binutils-gdb.git] / gdb / linux-nat.c
index c0c024073142a84a8f92127b22c856d8177f85f5..95feca6d363c83318511b7b4a36976a03e38108b 100644 (file)
@@ -793,6 +793,7 @@ holding the child stopped.  Try \"set detach-on-fork\" or \
             subsequent child exec or exit is enough to know when does
             the child stops using the parent's address space.  */
          parent_inf->waiting_for_vfork_done = detach_fork;
+         parent_inf->pspace->breakpoints_not_allowed = detach_fork;
 
          lp = find_lwp_pid (pid_to_ptid (parent_pid));
          gdb_assert (linux_supports_tracefork_flag >= 0);
This page took 0.025599 seconds and 4 git commands to generate.