diff options
author | Zachary Turner <zturner@google.com> | 2014-12-04 22:07:02 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2014-12-04 22:07:02 +0000 |
commit | be5e1e5c9bf06b07abc4f64f8842cfd49a1aaaa0 (patch) | |
tree | 699338883ea87bfe1473a21575d428722ef691ea /lldb/source/Plugins/Process/Windows/DebuggerThread.cpp | |
parent | 9b69327b43c165b81fcd7012b6174c3bbd30bfc1 (diff) | |
download | bcm5719-llvm-be5e1e5c9bf06b07abc4f64f8842cfd49a1aaaa0.tar.gz bcm5719-llvm-be5e1e5c9bf06b07abc4f64f8842cfd49a1aaaa0.zip |
Fix a minor error where I forgot to declare a variable.
llvm-svn: 223393
Diffstat (limited to 'lldb/source/Plugins/Process/Windows/DebuggerThread.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/Windows/DebuggerThread.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/Windows/DebuggerThread.cpp b/lldb/source/Plugins/Process/Windows/DebuggerThread.cpp index d037273fc49..7021f785221 100644 --- a/lldb/source/Plugins/Process/Windows/DebuggerThread.cpp +++ b/lldb/source/Plugins/Process/Windows/DebuggerThread.cpp @@ -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) |