summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/Thread.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-07-11 20:33:48 +0000
committerGreg Clayton <gclayton@apple.com>2012-07-11 20:33:48 +0000
commit53eb7ad2f75a8eb6dee394cd9140625f6ffe9fd3 (patch)
tree3c4f889f38f1d363a1a4ecd4acba610a6cd8eaef /lldb/source/Target/Thread.cpp
parent1fa2acaed477d6aeb54ad4cb2c5e753ed91b0e80 (diff)
downloadbcm5719-llvm-53eb7ad2f75a8eb6dee394cd9140625f6ffe9fd3.tar.gz
bcm5719-llvm-53eb7ad2f75a8eb6dee394cd9140625f6ffe9fd3.zip
<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/Target/Thread.cpp')
-rw-r--r--lldb/source/Target/Thread.cpp14
1 files changed, 3 insertions, 11 deletions
diff --git a/lldb/source/Target/Thread.cpp b/lldb/source/Target/Thread.cpp
index 4513577c9b5..5eeaca83552 100644
--- a/lldb/source/Target/Thread.cpp
+++ b/lldb/source/Target/Thread.cpp
@@ -1321,16 +1321,12 @@ Thread::GetStatus (Stream &strm, uint32_t start_frame, uint32_t num_frames, uint
strm.IndentMore();
const bool show_frame_info = true;
- const uint32_t source_lines_before = 3;
- const uint32_t source_lines_after = 3;
strm.IndentMore ();
num_frames_shown = GetStackFrameList ()->GetStatus (strm,
start_frame,
num_frames,
show_frame_info,
- num_frames_with_source,
- source_lines_before,
- source_lines_after);
+ num_frames_with_source);
strm.IndentLess();
strm.IndentLess();
}
@@ -1342,17 +1338,13 @@ Thread::GetStackFrameStatus (Stream& strm,
uint32_t first_frame,
uint32_t num_frames,
bool show_frame_info,
- uint32_t num_frames_with_source,
- uint32_t source_lines_before,
- uint32_t source_lines_after)
+ uint32_t num_frames_with_source)
{
return GetStackFrameList()->GetStatus (strm,
first_frame,
num_frames,
show_frame_info,
- num_frames_with_source,
- source_lines_before,
- source_lines_after);
+ num_frames_with_source);
}
bool
OpenPOWER on IntegriCloud