Browse Source

Fix build failure in inf-ptrace.c.

* inf-ptrace.c (inf_ptrace_follow_fork): Fix typo.
gdb_7_1-branch
Joel Brobecker 17 years ago
parent
commit
6479260d11
  1. 5
      gdb/ChangeLog
  2. 5
      gdb/ChangeLog-2009
  3. 4
      gdb/inf-ptrace.c

5
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.

5
gdb/ChangeLog-2009

@ -30,11 +30,6 @@
* breakpoint.c (update_watchpoint): Change b->type to
bp_watchpoint before calling hw_watchpoint_used_count.
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.

4
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. */

Loading…
Cancel
Save