summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2014-07-18 21:03:06 +0000
committerZachary Turner <zturner@google.com>2014-07-18 21:03:06 +0000
commita6473a7994628ef00903ae9e4a1d05bd4351cebb (patch)
tree86e3e5649c270c76e78002b03c8b4e3258ba855a /lldb/source/Interpreter
parentc9bf0c70b5cffd6cc3032683e18cc582a98ffe8a (diff)
downloadbcm5719-llvm-a6473a7994628ef00903ae9e4a1d05bd4351cebb.tar.gz
bcm5719-llvm-a6473a7994628ef00903ae9e4a1d05bd4351cebb.zip
Fix a bug with order of operations.
llvm-svn: 213411
Diffstat (limited to 'lldb/source/Interpreter')
-rw-r--r--lldb/source/Interpreter/ScriptInterpreterPython.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/ScriptInterpreterPython.cpp b/lldb/source/Interpreter/ScriptInterpreterPython.cpp
index ac4b29f1040..01789e42818 100644
--- a/lldb/source/Interpreter/ScriptInterpreterPython.cpp
+++ b/lldb/source/Interpreter/ScriptInterpreterPython.cpp
@@ -2446,7 +2446,7 @@ ScriptInterpreterPython::RunScriptBasedCommand(const char* impl_function,
{
Locker py_lock(this,
- Locker::AcquireLock | Locker::InitSession | cmd_retobj.GetInteractive() ? 0 : Locker::NoSTDIN,
+ Locker::AcquireLock | Locker::InitSession | (cmd_retobj.GetInteractive() ? 0 : Locker::NoSTDIN),
Locker::FreeLock | Locker::TearDownSession);
SynchronicityHandler synch_handler(debugger_sp,
OpenPOWER on IntegriCloud