diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2018-07-28 11:09:23 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2018-07-28 11:09:23 +0000 | 
| commit | f73363f1dd94996356cefbf24388f561891acf0b (patch) | |
| tree | e3c31248bdb36eaec5fd833490d4278162dba2a0 /source/Utility/StringExtractorGDBRemote.cpp | |
| parent | 160ee69dd7ae18978f4068116777639ea98dc951 (diff) | |
Notes
Diffstat (limited to 'source/Utility/StringExtractorGDBRemote.cpp')
| -rw-r--r-- | source/Utility/StringExtractorGDBRemote.cpp | 15 | 
1 files changed, 7 insertions, 8 deletions
diff --git a/source/Utility/StringExtractorGDBRemote.cpp b/source/Utility/StringExtractorGDBRemote.cpp index 818347a42a2c..3cae06df3b1e 100644 --- a/source/Utility/StringExtractorGDBRemote.cpp +++ b/source/Utility/StringExtractorGDBRemote.cpp @@ -7,7 +7,7 @@  //  //===----------------------------------------------------------------------===// -#include "Utility/StringExtractorGDBRemote.h" +#include "lldb/Utility/StringExtractorGDBRemote.h"  #include <ctype.h> // for isxdigit  #include <string.h> @@ -482,10 +482,9 @@ lldb_private::Status StringExtractorGDBRemote::GetStatus() {  size_t StringExtractorGDBRemote::GetEscapedBinaryData(std::string &str) {    // Just get the data bytes in the string as -  // GDBRemoteCommunication::CheckForPacket() -  // already removes any 0x7d escaped characters. If any 0x7d characters are -  // left in -  // the packet, then they are supposed to be there... +  // GDBRemoteCommunication::CheckForPacket() already removes any 0x7d escaped +  // characters. If any 0x7d characters are left in the packet, then they are +  // supposed to be there...    str.clear();    const size_t bytes_left = GetBytesLeft();    if (bytes_left > 0) { @@ -526,9 +525,9 @@ static bool JSONResponseValidator(void *,    case StringExtractorGDBRemote::eResponse:      // JSON that is returned in from JSON query packets is currently always -    // either a dictionary which starts with a '{', or an array which -    // starts with a '['. This is a quick validator to just make sure the -    // response could be valid JSON without having to validate all of the +    // either a dictionary which starts with a '{', or an array which starts +    // with a '['. This is a quick validator to just make sure the response +    // could be valid JSON without having to validate all of the      // JSON content.      switch (response.GetStringRef()[0]) {      case '{':  | 
