aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Target/ThreadPlanStepInstruction.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2010-07-16 12:32:33 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2010-07-16 12:32:33 +0000
commit1ee0d4f7f358d4b598fb22c696c1c50816adc622 (patch)
tree811bf2064ed94c3d519def474f932c09a45b9af6 /lldb/source/Target/ThreadPlanStepInstruction.cpp
parent50729ad717ab4bf1d3cf002d5ecb28286acdd89d (diff)
downloadllvm-1ee0d4f7f358d4b598fb22c696c1c50816adc622.tar.gz
llvm-1ee0d4f7f358d4b598fb22c696c1c50816adc622.tar.bz2
llvm-1ee0d4f7f358d4b598fb22c696c1c50816adc622.zip
Fix constructor initialization order. Patch by Bill Lynch.
llvm-svn: 108524
Diffstat (limited to 'lldb/source/Target/ThreadPlanStepInstruction.cpp')
-rw-r--r--lldb/source/Target/ThreadPlanStepInstruction.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lldb/source/Target/ThreadPlanStepInstruction.cpp b/lldb/source/Target/ThreadPlanStepInstruction.cpp
index 644c768eaa76..a59d928624c8 100644
--- a/lldb/source/Target/ThreadPlanStepInstruction.cpp
+++ b/lldb/source/Target/ThreadPlanStepInstruction.cpp
@@ -39,9 +39,10 @@ ThreadPlanStepInstruction::ThreadPlanStepInstruction
) :
ThreadPlan (ThreadPlan::eKindStepInstruction, "Step over single instruction", thread, stop_vote, run_vote),
m_instruction_addr (0),
+ m_stop_other_threads (stop_other_threads),
m_step_over (step_over),
- m_stack_depth(0),
- m_stop_other_threads (stop_other_threads){
+ m_stack_depth (0)
+{
m_instruction_addr = m_thread.GetRegisterContext()->GetPC(0);
m_stack_depth = m_thread.GetStackFrameCount();
}