diff options
author | Greg Clayton <gclayton@apple.com> | 2014-03-07 00:53:24 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2014-03-07 00:53:24 +0000 |
commit | f6913cd7af4c4a3ba6dfb0295f32a66a1413c9e2 (patch) | |
tree | 69741512c24182fbd6d82c0b5768066c44cf4507 /lldb/source/Commands/CommandObjectCommands.cpp | |
parent | b9a0265cc164cd42ce2e5657fd9c57bb3b6bc7d3 (diff) | |
download | llvm-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.cpp | 5 |
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) |