diff options
author | Joel Brobecker <brobecker@gnat.com> | 2010-01-01 07:03:54 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2010-01-01 07:03:54 +0000 |
commit | 6479260d11c8f24a33cea6d0c79778a6beae1f9d (patch) | |
tree | 552651e9d6d5066f908bb040cb4c60d39da8191e /gdb/inf-ptrace.c | |
parent | 6e7ffa3987298345340b374db2b1d3ceb96005ef (diff) | |
download | gdb-6479260d11c8f24a33cea6d0c79778a6beae1f9d.zip gdb-6479260d11c8f24a33cea6d0c79778a6beae1f9d.tar.gz gdb-6479260d11c8f24a33cea6d0c79778a6beae1f9d.tar.bz2 |
Fix build failure in inf-ptrace.c.
* inf-ptrace.c (inf_ptrace_follow_fork): Fix typo.
Diffstat (limited to 'gdb/inf-ptrace.c')
-rw-r--r-- | gdb/inf-ptrace.c | 4 |
1 files changed, 2 insertions, 2 deletions
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. */ |