aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Utility/StringExtractorGDBRemote.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2016-05-07 00:52:18 +0000
committerJim Ingham <jingham@apple.com>2016-05-07 00:52:18 +0000
commit8bbfdcd181cc1db80317dbd8762fb9e2d7f34e27 (patch)
treee4857e81fa10cbec8c9838c823869743be9522de /lldb/source/Utility/StringExtractorGDBRemote.cpp
parent52bef53f86eca617c3e780ddd9b0bc0941d4ce18 (diff)
downloadllvm-8bbfdcd181cc1db80317dbd8762fb9e2d7f34e27.zip
llvm-8bbfdcd181cc1db80317dbd8762fb9e2d7f34e27.tar.gz
llvm-8bbfdcd181cc1db80317dbd8762fb9e2d7f34e27.tar.bz2
Remove some lldbassert's from the packet checking code.
Greg says he doesn't need these asserts anymore and since they cause occasional test suite crashes, out they go. llvm-svn: 268827
Diffstat (limited to 'lldb/source/Utility/StringExtractorGDBRemote.cpp')
-rw-r--r--lldb/source/Utility/StringExtractorGDBRemote.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/lldb/source/Utility/StringExtractorGDBRemote.cpp b/lldb/source/Utility/StringExtractorGDBRemote.cpp
index 311ce57..d2619af 100644
--- a/lldb/source/Utility/StringExtractorGDBRemote.cpp
+++ b/lldb/source/Utility/StringExtractorGDBRemote.cpp
@@ -14,7 +14,6 @@
// Other libraries and framework includes
// Project includes
#include "Utility/StringExtractorGDBRemote.h"
-#include "lldb/Utility/LLDBAssert.h"
StringExtractorGDBRemote::ResponseType
StringExtractorGDBRemote::GetResponseType () const
@@ -405,7 +404,6 @@ OKErrorNotSupportedResponseValidator(void *, const StringExtractorGDBRemote &res
case StringExtractorGDBRemote::eResponse:
break;
}
- lldbassert(!"Packet validatation failed, check why this is happening");
return false;
}
@@ -438,7 +436,6 @@ JSONResponseValidator(void *, const StringExtractorGDBRemote &response)
}
break;
}
- lldbassert(!"Packet validatation failed, check why this is happening");
return false;
}
@@ -463,7 +460,6 @@ ASCIIHexBytesResponseValidator(void *, const StringExtractorGDBRemote &response)
{
if (!isxdigit(ch))
{
- lldbassert(!"Packet validatation failed, check why this is happening");
return false;
}
if (++valid_count >= 16)
@@ -473,7 +469,6 @@ ASCIIHexBytesResponseValidator(void *, const StringExtractorGDBRemote &response)
}
break;
}
- lldbassert(!"Packet validatation failed, check why this is happening");
return false;
}