* linux-fork.c (inferior_call_waitptid): Fix copy/paste error.
2011-03-04 Michael Snyder <msnyder@vmware.com>
+ * linux-fork.c (inferior_call_waitptid): Fix copy/paste error.
+
* symfile.c (simple_overlay_update): Check for null return value
from lookup_minimal_symbol.
oldfp = find_fork_ptid (inferior_ptid);
gdb_assert (oldfp != NULL);
newfp = find_fork_ptid (pptid);
- gdb_assert (oldfp != NULL);
+ gdb_assert (newfp != NULL);
fork_save_infrun_state (oldfp, 1);
remove_breakpoints ();
fork_load_infrun_state (newfp);