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
1 file changed