[llvm-branch-commits] [lldb] r198629 - Fixed interactive interpreter.
Greg Clayton
gclayton at apple.com
Mon Jan 6 11:38:55 PST 2014
Author: gclayton
Date: Mon Jan 6 13:38:54 2014
New Revision: 198629
URL: http://llvm.org/viewvc/llvm-project?rev=198629&view=rev
Log:
Fixed interactive interpreter.
Modified:
lldb/branches/iohandler/source/Interpreter/embedded_interpreter.py
Modified: lldb/branches/iohandler/source/Interpreter/embedded_interpreter.py
URL: http://llvm.org/viewvc/llvm-project/lldb/branches/iohandler/source/Interpreter/embedded_interpreter.py?rev=198629&r1=198628&r2=198629&view=diff
==============================================================================
--- lldb/branches/iohandler/source/Interpreter/embedded_interpreter.py (original)
+++ lldb/branches/iohandler/source/Interpreter/embedded_interpreter.py Mon Jan 6 13:38:54 2014
@@ -57,8 +57,7 @@ g_run_one_line_str = None
def run_python_interpreter (dict):
# Pass in the dictionary, for continuity from one session to the next.
- repl = SimpleREPL('>>> ', dict)
- repl.interact()
+ code.interact(banner="Python Interactive Interpreter. To exit, type 'quit()', 'exit()' or Ctrl-D.", local=dict)
def run_one_line (dict, input_string):
global g_builtin_override_called
More information about the llvm-branch-commits
mailing list