* inf-ttrace.c: Include <signal.h>
authorPedro Alves <palves@redhat.com>
Mon, 8 Sep 2008 21:28:53 +0000 (21:28 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 8 Sep 2008 21:28:53 +0000 (21:28 +0000)
commit438ac09b47f7fbd1cf7b8dff0c2275546100c2a4
tree0f0a18e11bef32d6b468c596ebfa8e7df4bca747
parent2935f27f6eb84ca95638010757ec58558c160ec7
* inf-ttrace.c: Include <signal.h>
(inf_ttrace_delete_dead_threads_callback): New.
(inf_ttrace_resume_lwp): New.
(inf_ttrace_resume_callback, inf_ttrace_resume): Rewrite.  Don't
delete dying threads until they are really dead.
(inf_ttrace_wait): After stopping the whole process, delete any
dying thread that is really dead by now.
(inf_ttrace_thread_alive): Return 1.
(inf_ttrace_extra_thread_info): New.
(inf_ttrace_target): Register inf_ttrace_extra_thread_info.
gdb/ChangeLog
gdb/inf-ttrace.c