* linux-nat.h (linux_proc_get_tgid): Declare.
authorPedro Alves <palves@redhat.com>
Mon, 18 May 2009 17:11:25 +0000 (17:11 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 18 May 2009 17:11:25 +0000 (17:11 +0000)
commit4d062f1ad566bb7f0eaed761db36788a7e981a28
treec3728bfd05040f58971c32702491a7f2811558b1
parentd90e17a74d28db7b3632eced357327ce2fb14f01
* linux-nat.h (linux_proc_get_tgid): Declare.
* linux-nat.c (linux_proc_get_tgid): New.
* linux-thread-db.c (struct thread_db_info): New field
`need_stale_parent_threads_check'.
(add_thread_db_info): Set it.
(find_new_threads_callback): Ignore stale fork parent threads.
(thread_db_resume): New.
(init_thread_db_ops): Install thread_db_resume.
gdb/ChangeLog
gdb/linux-nat.c
gdb/linux-nat.h
gdb/linux-thread-db.c