diff options
author | Greg Clayton <gclayton@apple.com> | 2012-09-01 00:38:36 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2012-09-01 00:38:36 +0000 |
commit | 4c05410f8f7d312fd45d8f156015cc2c13f5c977 (patch) | |
tree | b15804f461fdae043af43925495b53ab83080573 /lldb/source/Interpreter/ScriptInterpreterPython.cpp | |
parent | c373ca5c74ab69b94fa0f48a58a0c16f2e7e16e1 (diff) | |
download | bcm5719-llvm-4c05410f8f7d312fd45d8f156015cc2c13f5c977.tar.gz bcm5719-llvm-4c05410f8f7d312fd45d8f156015cc2c13f5c977.zip |
Made it so changes to the prompt via "settings set prompt" get noticed by the command line.
Added the ability for OptionValueString objects to take flags. The only flag is currently for parsing escape sequences. Not the prompt string can have escape characters translate which will allow colors in the prompt.
Added functions to Args that will parse the escape sequences in a string, and also re-encode the escape sequences for display. This was looted from other parts of LLDB (the Debugger::FormatString() function).
llvm-svn: 163043
Diffstat (limited to 'lldb/source/Interpreter/ScriptInterpreterPython.cpp')
-rw-r--r-- | lldb/source/Interpreter/ScriptInterpreterPython.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lldb/source/Interpreter/ScriptInterpreterPython.cpp b/lldb/source/Interpreter/ScriptInterpreterPython.cpp index 97cf7f866d6..fec70e301cc 100644 --- a/lldb/source/Interpreter/ScriptInterpreterPython.cpp +++ b/lldb/source/Interpreter/ScriptInterpreterPython.cpp @@ -376,11 +376,11 @@ ScriptInterpreterPython::PythonInputReaderManager::InputReaderCallback break; case eInputReaderReactivate: - { - ScriptInterpreterPython::Locker locker(script_interpreter, - ScriptInterpreterPython::Locker::AcquireLock | ScriptInterpreterPython::Locker::InitSession, - ScriptInterpreterPython::Locker::FreeAcquiredLock); - } +// { +// ScriptInterpreterPython::Locker locker(script_interpreter, +// ScriptInterpreterPython::Locker::AcquireLock | ScriptInterpreterPython::Locker::InitSession, +// ScriptInterpreterPython::Locker::FreeAcquiredLock); +// } break; case eInputReaderAsynchronousOutputWritten: |