* inf-ptrace.c (inf_ptrace_follow_fork): Fix typo.
+
+ Fix build failure in inf-ptrace.c.
+ * inf-ptrace.c (inf_ptrace_follow_fork): Fix typo.
+
* top.c (print_gdb_version): Update copyright year.
* breakpoint.c (update_watchpoint): Change b->type to
bp_watchpoint before calling hw_watchpoint_used_count.
-
- Fix build failure in inf-ptrace.c.
- * inf-ptrace.c (inf_ptrace_follow_fork): Fix typo.
-
* breakpoint.c (watchpoint_check): Expand the function description.
child_inf = add_inferior (fpid);
child_inf->attach_flag = parent_inf->attach_flag;
copy_terminal_info (child_inf, parent_inf);
- inf->pspace = parent_inf->pspace;
- inf->pspace = parent_inf->aspace;
+ child_inf->pspace = parent_inf->pspace;
+ child_inf->aspace = parent_inf->aspace;
/* Before detaching from the parent, remove all breakpoints from
it. */