diff options
author | Greg Clayton <gclayton@apple.com> | 2012-07-11 20:33:48 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2012-07-11 20:33:48 +0000 |
commit | 53eb7ad2f75a8eb6dee394cd9140625f6ffe9fd3 (patch) | |
tree | 3c4f889f38f1d363a1a4ecd4acba610a6cd8eaef /lldb/source/Commands/CommandObjectFrame.cpp | |
parent | 1fa2acaed477d6aeb54ad4cb2c5e753ed91b0e80 (diff) | |
download | llvm-53eb7ad2f75a8eb6dee394cd9140625f6ffe9fd3.zip llvm-53eb7ad2f75a8eb6dee394cd9140625f6ffe9fd3.tar.gz llvm-53eb7ad2f75a8eb6dee394cd9140625f6ffe9fd3.tar.bz2 |
<rdar://problem/11852100>
The "stop-line-count-after" and "stop-line-count-before" settings are broken. This fixes them.
llvm-svn: 160071
Diffstat (limited to 'lldb/source/Commands/CommandObjectFrame.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectFrame.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lldb/source/Commands/CommandObjectFrame.cpp b/lldb/source/Commands/CommandObjectFrame.cpp index 4dc4aa8..ab22919 100644 --- a/lldb/source/Commands/CommandObjectFrame.cpp +++ b/lldb/source/Commands/CommandObjectFrame.cpp @@ -282,14 +282,7 @@ protected: bool show_frame_info = true; bool show_source = !already_shown; - Debugger &debugger = m_interpreter.GetDebugger(); - const uint32_t source_lines_before = debugger.GetStopSourceLineCount(true); - const uint32_t source_lines_after = debugger.GetStopSourceLineCount(false); - if (frame->GetStatus (result.GetOutputStream(), - show_frame_info, - show_source, - source_lines_before, - source_lines_after)) + if (frame->GetStatus (result.GetOutputStream(), show_frame_info, show_source)) { result.SetStatus (eReturnStatusSuccessFinishResult); return result.Succeeded(); |