Fix constructor initialization order. Patch by Bill Lynch.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@108524 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Target/Thread.cpp b/source/Target/Thread.cpp
index 40ea4df..fe9f7f5 100644
--- a/source/Target/Thread.cpp
+++ b/source/Target/Thread.cpp
@@ -36,9 +36,9 @@
Thread::Thread (Process &process, lldb::tid_t tid) :
UserID (tid),
+ m_process (process),
m_index_id (process.GetNextThreadIndexID ()),
m_reg_context_sp (),
- m_process (process),
m_state (eStateUnloaded),
m_plan_stack (),
m_immediate_plan_stack(),
@@ -90,8 +90,8 @@
Thread::StopInfo::StopInfo(Thread *thread) :
m_reason (eStopReasonInvalid),
- m_description (),
m_thread (thread),
+ m_description (),
m_details ()
{
m_description[0] = '\0';