* linux-thread-db.c: Include "linux-nat.h".
authorDaniel Jacobowitz <drow@false.org>
Thu, 30 Mar 2006 16:34:23 +0000 (16:34 +0000)
committerDaniel Jacobowitz <drow@false.org>
Thu, 30 Mar 2006 16:34:23 +0000 (16:34 +0000)
commit0ec9a092fd18d6b1c38ae330194bf90534a9b681
tree93feedf6bfddc1622c45699c28bafaa000874e0c
parent6d820c5c12929725ad4fdc7e9e8b3b02af1df932
* linux-thread-db.c: Include "linux-nat.h".
(check_for_thread_db): New function, split out from
thread_db_new_objfile.  Remove dead check for active
thread_db on inapplicable targets.
(thread_db_new_objfile): Call check_for_thread_db.
* Makefile.in (linux-thread-db.o): Update.
* linux-nat.c (child_post_attach): Call check_for_thread_db.
(linux_child_post_startup_inferior): Likewise.
(lin_lwp_attach_lwp): Call target_post_attach instead of
child_post_attach.
* linux-nat.h (check_for_thread_db): New prototype.
gdb/ChangeLog
gdb/Makefile.in
gdb/linux-nat.c
gdb/linux-nat.h
gdb/linux-thread-db.c