If you hijack events, you must undo this by calling:

  process_sp->RestoreProcessEvents();




================
Comment at: source/Plugins/Platform/Linux/PlatformLinux.cpp:804
@@ -803,3 +801,2 @@
             const StateType state = process_sp->WaitForProcessToStop (NULL, 
NULL, false, listener_sp.get());
-            process_sp->RestoreProcessEvents();
 
----------------
If you hijack event above, you must unhijack by calling:


```
process_sp->RestoreProcessEvents();
```

So you can't remove this. It was a NOP before because it wasn't doing anything, 
but if you do hijack events, then you must unhijack.

http://reviews.llvm.org/D8079

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/



_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to