commit | 914e718e8025c3bd458663cbe9749de84244513c | [log] [tgz] |
---|---|---|
author | Johnny Chen <johnny.chen@apple.com> | Thu Aug 25 21:59:59 2011 +0000 |
committer | Johnny Chen <johnny.chen@apple.com> | Thu Aug 25 21:59:59 2011 +0000 |
tree | 95e77471b67f680280fbde954abfd3e4ec77865c | |
parent | 222df17790133609f7c99c7f0515b1fefcba3afb [diff] |
Modify the impl of ThreadList::GetSelectedThread() so that it tries to fetch the m_selected_tid thread first, check to see if it is valid (might be null if the thread just exited), and if not select/return the 0th thread instead. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138591 91177308-0d34-0410-b5e6-96231b3b80d8