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 | |
parent | 6e7ffa3987298345340b374db2b1d3ceb96005ef (diff) | |
download | fsf-binutils-gdb-6479260d11c8f24a33cea6d0c79778a6beae1f9d.zip fsf-binutils-gdb-6479260d11c8f24a33cea6d0c79778a6beae1f9d.tar.gz fsf-binutils-gdb-6479260d11c8f24a33cea6d0c79778a6beae1f9d.tar.bz2 |
Fix build failure in inf-ptrace.c.
* inf-ptrace.c (inf_ptrace_follow_fork): Fix typo.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/ChangeLog-2009 | 5 | ||||
-rw-r--r-- | gdb/inf-ptrace.c | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ac3afb1..d212062 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2009-01-01 Joel Brobecker <brobecker@adacore.com> + + Fix build failure in inf-ptrace.c. + * inf-ptrace.c (inf_ptrace_follow_fork): Fix typo. + 2010-01-01 Joel Brobecker <brobecker@adacore.com> * top.c (print_gdb_version): Update copyright year. diff --git a/gdb/ChangeLog-2009 b/gdb/ChangeLog-2009 index 753fbb0..6bee817 100644 --- a/gdb/ChangeLog-2009 +++ b/gdb/ChangeLog-2009 @@ -32,11 +32,6 @@ 2009-12-30 Joel Brobecker <brobecker@adacore.com> - Fix build failure in inf-ptrace.c. - * inf-ptrace.c (inf_ptrace_follow_fork): Fix typo. - -2009-12-30 Joel Brobecker <brobecker@adacore.com> - * breakpoint.c (watchpoint_check): Expand the function description. 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com> 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. */ |