[Lldb-commits] [lldb] r283168 - Try to fix failing tests when running remote test suite.
Zachary Turner via lldb-commits
lldb-commits at lists.llvm.org
Mon Oct 3 17:09:44 PDT 2016
Author: zturner
Date: Mon Oct 3 19:09:44 2016
New Revision: 283168
URL: http://llvm.org/viewvc/llvm-project?rev=283168&view=rev
Log:
Try to fix failing tests when running remote test suite.
Modified:
lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemoteLog.cpp
Modified: lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemoteLog.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemoteLog.cpp?rev=283168&r1=283167&r2=283168&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemoteLog.cpp (original)
+++ lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemoteLog.cpp Mon Oct 3 19:09:44 2016
@@ -66,7 +66,7 @@ void ProcessGDBRemoteLog::DisableLog(con
if (log) {
uint32_t flag_bits = 0;
- if (categories[0] != NULL) {
+ if (categories && categories[0]) {
flag_bits = log->GetMask().Get();
for (size_t i = 0; categories[i] != NULL; ++i) {
const char *arg = categories[i];
More information about the lldb-commits
mailing list