diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:50:09 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:50:09 +0000 | 
| commit | f3fbd1c0586ff6ec7895991e6c28f61a503c36a8 (patch) | |
| tree | 48d008fd3df8c0e73271a4b18474e0aac6dbfe33 /source/Target/ThreadPlanStepInstruction.cpp | |
| parent | 2fc5d2d1dfaf623ce4e24cd8590565902f8c557c (diff) | |
Notes
Diffstat (limited to 'source/Target/ThreadPlanStepInstruction.cpp')
| -rw-r--r-- | source/Target/ThreadPlanStepInstruction.cpp | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/source/Target/ThreadPlanStepInstruction.cpp b/source/Target/ThreadPlanStepInstruction.cpp index 9d7d52167ffc..ccfd52e00e10 100644 --- a/source/Target/ThreadPlanStepInstruction.cpp +++ b/source/Target/ThreadPlanStepInstruction.cpp @@ -239,7 +239,8 @@ ThreadPlanStepInstruction::ShouldStop (Event *event_ptr)      }      else      { -        if (m_thread.GetRegisterContext()->GetPC(0) != m_instruction_addr) +        lldb::addr_t pc_addr = m_thread.GetRegisterContext()->GetPC(0); +        if (pc_addr != m_instruction_addr)          {              if (--m_iteration_count <= 0)              {  | 
