[Lldb-commits] [lldb] r213411 - Fix a bug with order of operations.

Zachary Turner zturner at google.com
Fri Jul 18 14:03:06 PDT 2014


Author: zturner
Date: Fri Jul 18 16:03:06 2014
New Revision: 213411

URL: http://llvm.org/viewvc/llvm-project?rev=213411&view=rev
Log:
Fix a bug with order of operations.

Modified:
    lldb/trunk/source/Interpreter/ScriptInterpreterPython.cpp

Modified: lldb/trunk/source/Interpreter/ScriptInterpreterPython.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Interpreter/ScriptInterpreterPython.cpp?rev=213411&r1=213410&r2=213411&view=diff
==============================================================================
--- lldb/trunk/source/Interpreter/ScriptInterpreterPython.cpp (original)
+++ lldb/trunk/source/Interpreter/ScriptInterpreterPython.cpp Fri Jul 18 16:03:06 2014
@@ -2446,7 +2446,7 @@ ScriptInterpreterPython::RunScriptBasedC
     
     {
         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,





More information about the lldb-commits mailing list