[llvm-branch-commits] [lldb] r198801 - Be sure to remove the lisenter hijack from the process in all cases.

Greg Clayton gclayton at apple.com
Wed Jan 8 14:16:14 PST 2014


Author: gclayton
Date: Wed Jan  8 16:16:13 2014
New Revision: 198801

URL: http://llvm.org/viewvc/llvm-project?rev=198801&view=rev
Log:
Be sure to remove the lisenter hijack from the process in all cases.


Modified:
    lldb/branches/iohandler/source/Target/Target.cpp

Modified: lldb/branches/iohandler/source/Target/Target.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/branches/iohandler/source/Target/Target.cpp?rev=198801&r1=198800&r2=198801&view=diff
==============================================================================
--- lldb/branches/iohandler/source/Target/Target.cpp (original)
+++ lldb/branches/iohandler/source/Target/Target.cpp Wed Jan  8 16:16:13 2014
@@ -2433,9 +2433,8 @@ Target::Launch (Listener &listener, Proc
             {
                 error.SetErrorStringWithFormat ("initial process state wasn't stopped: %s", StateAsCString(state));
             }
-            
-            m_process_sp->RestoreProcessEvents ();
         }
+        m_process_sp->RestoreProcessEvents ();
     }
     else
     {





More information about the llvm-branch-commits mailing list