summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter
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/Interpreter
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/Interpreter')
-rw-r--r--lldb/source/Interpreter/CommandInterpreter.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp
index 7a563b7c122..832ccbb06f3 100644
--- a/lldb/source/Interpreter/CommandInterpreter.cpp
+++ b/lldb/source/Interpreter/CommandInterpreter.cpp
@@ -2663,6 +2663,7 @@ CommandInterpreter::HandleCommandsFromFile (FileSpec &cmd_file,
NULL, // Pass in NULL for "editline_name" so no history is saved, or written
debugger.GetPrompt(),
false, // Not multi-line
+ 0,
*this));
const bool old_async_execution = debugger.GetAsyncExecution();
@@ -3052,6 +3053,7 @@ CommandInterpreter::GetLLDBCommandsFromIOHandler (const char *prompt,
"lldb", // Name of input reader for history
prompt, // Prompt
true, // Get multiple lines
+ 0, // Don't show line numbers
delegate)); // IOHandlerDelegate
if (io_handler_sp)
@@ -3077,6 +3079,7 @@ CommandInterpreter::GetPythonCommandsFromIOHandler (const char *prompt,
"lldb-python", // Name of input reader for history
prompt, // Prompt
true, // Get multiple lines
+ 0, // Don't show line numbers
delegate)); // IOHandlerDelegate
if (io_handler_sp)
@@ -3110,6 +3113,7 @@ CommandInterpreter::RunCommandInterpreter(bool auto_handle_events,
"lldb",
m_debugger.GetPrompt(),
multiple_lines,
+ 0, // Don't show line numbers
*this));
m_debugger.PushIOHandler(m_command_io_handler_sp);
OpenPOWER on IntegriCloud