diff options
author | Daniel Jacobowitz <drow@false.org> | 2006-03-24 22:44:05 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2006-03-24 22:44:05 +0000 |
commit | 791b663bea6a418419b626098c8de51c607b2eb0 (patch) | |
tree | d4d61b1accef0d1b3f2e584223ea8ec90e75b497 /gdb/Makefile.in | |
parent | 9e61c69e1e7bdacde58961fdaeaec35413ed18a7 (diff) | |
download | gdb-791b663bea6a418419b626098c8de51c607b2eb0.zip gdb-791b663bea6a418419b626098c8de51c607b2eb0.tar.gz gdb-791b663bea6a418419b626098c8de51c607b2eb0.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r-- | gdb/Makefile.in | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in index f066124..29aa218 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -726,6 +726,7 @@ kod_h = kod.h language_h = language.h libunwind_frame_h = libunwind-frame.h $(libunwind_h) linespec_h = linespec.h +linux_fork_h = linux-fork.h linux_nat_h = linux-nat.h $(target_h) m2_lang_h = m2-lang.h m32r_tdep_h = m32r-tdep.h @@ -2188,12 +2189,13 @@ linespec.o: linespec.c $(defs_h) $(symtab_h) $(frame_h) $(command_h) \ $(symfile_h) $(objfiles_h) $(source_h) $(demangle_h) $(value_h) \ $(completer_h) $(cp_abi_h) $(parser_defs_h) $(block_h) \ $(objc_lang_h) $(linespec_h) $(exceptions_h) -linux-fork.o: linux-fork.c linux-fork.h $(defs_h) $(inferior_h) \ - $(regcache_h) $(gdbcmd_h) $(infcall_h) +linux-fork.o: linux-fork.c $(defs_h) $(inferior_h) $(regcache_h) $(gdbcmd_h) \ + $(infcall_h) $(gdb_assert_h) $(gdb_string_h) $(linux_fork_h) linux-nat.o: linux-nat.c $(defs_h) $(inferior_h) $(target_h) $(gdb_string_h) \ $(gdb_wait_h) $(gdb_assert_h) $(linux_nat_h) $(gdbthread_h) \ $(gdbcmd_h) $(regcache_h) $(inf_ptrace.h) $(auxv.h) $(elf_bfd_h) \ - $(gregset_h) $(gdbcore_h) $(gdbthread_h) $(gdb_stat_h) linux-fork.h + $(gregset_h) $(gdbcore_h) $(gdbthread_h) $(gdb_stat_h) \ + $(linux_fork_h) linux-thread-db.o: linux-thread-db.c $(defs_h) $(gdb_assert_h) \ $(gdb_proc_service_h) $(gdb_thread_db_h) $(bfd_h) $(exceptions_h) \ $(gdbthread_h) $(inferior_h) $(symfile_h) $(objfiles_h) $(target_h) \ |