OSDN Git Service

Tru64: Dead threads are never deleted.
authorbrobecke <brobecke>
Thu, 14 Jan 2010 18:26:50 +0000 (18:26 +0000)
committerbrobecke <brobecke>
Thu, 14 Jan 2010 18:26:50 +0000 (18:26 +0000)
commitdadf0ae46708fe83f3014d29c4082bccd92bd53a
treeb8e529ffd77691b2bb414f1b8172c450db284fb9
parent8a28816ed338bc7965123e00c211f246abeedac2
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