mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-24 02:24:46 +08:00
2011-03-04 Michael Snyder <msnyder@vmware.com>
* linux-fork.c (inferior_call_waitptid): Fix copy/paste error.
This commit is contained in:
parent
9cc8966527
commit
da3ecdc664
@ -1,5 +1,7 @@
|
||||
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.
|
||||
|
||||
|
@ -443,7 +443,7 @@ inferior_call_waitpid (ptid_t pptid, int pid)
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user