* inf-ttrace.c (inf_ttrace_private_thread_info): New structure type.
authorJerome Guitton <guitton@adacore.com>
Tue, 18 Sep 2007 12:42:22 +0000 (12:42 +0000)
committerJerome Guitton <guitton@adacore.com>
Tue, 18 Sep 2007 12:42:22 +0000 (12:42 +0000)
commit60e2c248bcf1df7b769c3e91ae191962f3bece25
tree9daacf24c9ee3cf0db07a3e4ae66de4f5de12dec
parentd908d8f43bdc4fd78e8824d1b71b1d44e8dde096
* inf-ttrace.c (inf_ttrace_private_thread_info): New structure type.
        (inf_ttrace_delete_dying_threads_callback): New function.
        (inf_ttrace_resume): After resuming the execution, iterate over
        the dying threads to delete them for the thread list.
        (inf_ttrace_wait): on TTEVT_LWP_EXIT and TTEVT_LWP_TERMINATE,
        mark the corresponding thread as dying instead of removing it
        from the thread list.
        (inf_ttrace_thread_alive): return 0 for dying threads.
gdb/ChangeLog
gdb/inf-ttrace.c