* linux-fork.c: Include "gdb_assert.h".
authorDaniel Jacobowitz <drow@false.org>
Fri, 24 Mar 2006 22:44:05 +0000 (22:44 +0000)
committerDaniel Jacobowitz <drow@false.org>
Fri, 24 Mar 2006 22:44:05 +0000 (22:44 +0000)
commit791b663bea6a418419b626098c8de51c607b2eb0
treed4d61b1accef0d1b3f2e584223ea8ec90e75b497
parent9e61c69e1e7bdacde58961fdaeaec35413ed18a7
* linux-fork.c: Include "gdb_assert.h".
(fork_load_infrun_state): Set inferior_ptid and stop_pc here.
Update the register cache and selected frame also.
(linux_fork_mourn_inferior): Use fork_load_infrun_state.  Return
to single fork mode if necessary.
(linux_fork_context): Remove bits handled by fork_load_infrun_state.
* Makefile.in (linux_fork_h): New.
(linux-fork.o, linux-nat.o): Update.
gdb/ChangeLog
gdb/Makefile.in
gdb/linux-fork.c