summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectExpression.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2014-03-07 00:53:24 +0000
committerGreg Clayton <gclayton@apple.com>2014-03-07 00:53:24 +0000
commitf6913cd7af4c4a3ba6dfb0295f32a66a1413c9e2 (patch)
tree69741512c24182fbd6d82c0b5768066c44cf4507 /lldb/source/Commands/CommandObjectExpression.cpp
parentb9a0265cc164cd42ce2e5657fd9c57bb3b6bc7d3 (diff)
downloadbcm5719-llvm-f6913cd7af4c4a3ba6dfb0295f32a66a1413c9e2.tar.gz
bcm5719-llvm-f6913cd7af4c4a3ba6dfb0295f32a66a1413c9e2.zip
Allow line numbers to be shown in multi-line expressions.
llvm-svn: 203185
Diffstat (limited to 'lldb/source/Commands/CommandObjectExpression.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectExpression.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Commands/CommandObjectExpression.cpp b/lldb/source/Commands/CommandObjectExpression.cpp
index c772a2e5891..7dacaa73cd1 100644
--- a/lldb/source/Commands/CommandObjectExpression.cpp
+++ b/lldb/source/Commands/CommandObjectExpression.cpp
@@ -428,6 +428,7 @@ CommandObjectExpression::DoExecute
"lldb-expr", // Name of input reader for history
NULL, // No prompt
multiple_lines,
+ 1, // Show line numbers starting at 1
*this));
StreamFileSP output_sp(io_handler_sp->GetOutputStreamFile());
OpenPOWER on IntegriCloud