2013-07-15 Ali Anwar <ali_anwar@codesourcery.com>
authorAli Anwar <alianwar@sourceware.org>
Mon, 15 Jul 2013 11:14:32 +0000 (11:14 +0000)
committerAli Anwar <alianwar@sourceware.org>
Mon, 15 Jul 2013 11:14:32 +0000 (11:14 +0000)
commit054e8d9e20cf24e4b4fea6f46f289cf0475746ea
tree1e1a9d8446bce951917614273abcc56293b9e726
parent2f1bafe9f6c9bee1bbf3f822f703a75a11eda74e
2013-07-15  Ali Anwar  <ali_anwar@codesourcery.com>

        PR threads/13217
        * thread.c (thread_apply_all_command): Check for valid threads
        and thread count.
        (thread_array_cleanup): New struct.
        (set_thread_refcount): New function.
gdb/ChangeLog
gdb/testsuite/gdb.threads/threadapply.exp
gdb/thread.c