From 8bbfdcd181cc1db80317dbd8762fb9e2d7f34e27 Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Sat, 7 May 2016 00:52:18 +0000 Subject: 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 --- lldb/source/Utility/StringExtractorGDBRemote.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'lldb/source/Utility/StringExtractorGDBRemote.cpp') diff --git a/lldb/source/Utility/StringExtractorGDBRemote.cpp b/lldb/source/Utility/StringExtractorGDBRemote.cpp index 311ce57b83bc..d2619afd5bfa 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; } -- cgit v1.2.3