OSDN Git Service

* linux-nat.h (linux_proc_get_tgid): Declare.
authorPedro Alves <pedro@codesourcery.com>
Mon, 18 May 2009 17:11:24 +0000 (17:11 +0000)
committerPedro Alves <pedro@codesourcery.com>
Mon, 18 May 2009 17:11:24 +0000 (17:11 +0000)
commit49a68e872815777f810fbcc5e043c991f542bf0b
tree96ed87d9a9c4c9d025ba5414794af434769d4494
parent3c35d8466c33badf768ae27dd3f2dffa280ac3cd
* 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