[Lldb-commits] [lldb] r223393 - Fix a minor error where I forgot to declare a variable.

Zachary Turner zturner at google.com
Thu Dec 4 14:07:03 PST 2014


Author: zturner
Date: Thu Dec  4 16:07:02 2014
New Revision: 223393

URL: http://llvm.org/viewvc/llvm-project?rev=223393&view=rev
Log:
Fix a minor error where I forgot to declare a variable.

Modified:
    lldb/trunk/source/Plugins/Process/Windows/DebuggerThread.cpp

Modified: lldb/trunk/source/Plugins/Process/Windows/DebuggerThread.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Windows/DebuggerThread.cpp?rev=223393&r1=223392&r2=223393&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Windows/DebuggerThread.cpp (original)
+++ lldb/trunk/source/Plugins/Process/Windows/DebuggerThread.cpp Thu Dec  4 16:07:02 2014
@@ -164,7 +164,8 @@ void
 DebuggerThread::DebugLoop()
 {
     DEBUG_EVENT dbe = {0};
-    while (WaitForDebugEvent(&dbe, INFINITE))
+    bool should_debug = true;
+    while (should_debug && WaitForDebugEvent(&dbe, INFINITE))
     {
         DWORD continue_status = DBG_CONTINUE;
         switch (dbe.dwDebugEventCode)





More information about the lldb-commits mailing list