Tru64: Dead threads are never deleted.
authorJoel Brobecker <brobecker@gnat.com>
Thu, 14 Jan 2010 09:26:50 +0000 (09:26 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Thu, 14 Jan 2010 09:26:50 +0000 (09:26 +0000)
commit1596ad236896da1182521ec9fbb6ba5005b6cd60
tree3a1965f75c8d9e72e43c0e3c2c75700e00aa432f
parent60a0e0e75c275d93b6b14b6d794688e232e84a0d
Tru64: Dead threads are never deleted.

        * dec-thread.c (dec_thread_ptid_is_alive): New function.
        (dec_thread_count_gdb_threads): Fix counter increment.
        (dec_thread_add_gdb_thread): Fix *listp increment.
        (resync_thread_list): Fix bug in deletion of dead threads that
        caused all threads to be deleted, instead of just the dead ones.
gdb/ChangeLog
gdb/dec-thread.c