commit 1a2d71c8b05b915da66a162b794eada3d85126ca Author: brobecke Date: Wed Dec 30 19:34:08 2009 +0000 Fix build failure in inf-ptrace.c. * inf-ptrace.c (inf_ptrace_follow_fork): Fix typo. diff --git a/gdb/inf-ptrace.c b/gdb/inf-ptrace.c index a138701..d2df3b1 100644 --- a/gdb/inf-ptrace.c +++ b/gdb/inf-ptrace.c @@ -67,8 +67,8 @@ inf_ptrace_follow_fork (struct target_ops *ops, int follow_child) 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. */