diff options
| author | Greg Clayton <gclayton@apple.com> | 2014-04-11 17:27:02 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2014-04-11 17:27:02 +0000 |
| commit | 8334e14efc70684b8a1c5996ba1880aadd6f7c26 (patch) | |
| tree | 241f3b886415fe7eeaab634b911a0054ba2a335c | |
| parent | d8931425952e052ab50339221ed1f8df33fa5bd3 (diff) | |
| download | bcm5719-llvm-8334e14efc70684b8a1c5996ba1880aadd6f7c26.tar.gz bcm5719-llvm-8334e14efc70684b8a1c5996ba1880aadd6f7c26.zip | |
Fixed SBThread.GetStopReasonDataAtIndex() to correctly return breakpoint location ID.
Patch from Vyacheslav Karpukhin.
llvm-svn: 206040
| -rw-r--r-- | lldb/source/API/SBThread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/SBThread.cpp b/lldb/source/API/SBThread.cpp index d9d4f149966..7c1bbfe9c92 100644 --- a/lldb/source/API/SBThread.cpp +++ b/lldb/source/API/SBThread.cpp @@ -229,7 +229,7 @@ SBThread::GetStopReasonDataAtIndex (uint32_t idx) BreakpointLocationSP bp_loc_sp (bp_site_sp->GetOwnerAtIndex (bp_index)); if (bp_loc_sp) { - if (bp_index & 1) + if (idx & 1) { // Odd idx, return the breakpoint location ID return bp_loc_sp->GetID(); |

