aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectCommands.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/CommandObjectCommands.cpp
parentb9a0265cc164cd42ce2e5657fd9c57bb3b6bc7d3 (diff)
downloadllvm-f6913cd7af4c4a3ba6dfb0295f32a66a1413c9e2.zip
llvm-f6913cd7af4c4a3ba6dfb0295f32a66a1413c9e2.tar.gz
llvm-f6913cd7af4c4a3ba6dfb0295f32a66a1413c9e2.tar.bz2
Allow line numbers to be shown in multi-line expressions.
llvm-svn: 203185
Diffstat (limited to 'lldb/source/Commands/CommandObjectCommands.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectCommands.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectCommands.cpp b/lldb/source/Commands/CommandObjectCommands.cpp
index 7bfdec0..e3e113a 100644
--- a/lldb/source/Commands/CommandObjectCommands.cpp
+++ b/lldb/source/Commands/CommandObjectCommands.cpp
@@ -1034,9 +1034,10 @@ protected:
Debugger &debugger = m_interpreter.GetDebugger();
const bool multiple_lines = true; // Get multiple lines
IOHandlerSP io_handler_sp (new IOHandlerEditline (debugger,
- "lldb", // Name of input reader for history
- "\033[K> ", // Prompt and clear line
+ "lldb", // Name of input reader for history
+ "\033[K> ", // Prompt and clear line
multiple_lines,
+ 0, // Don't show line numbers
*this));
if (io_handler_sp)