From: Aidan Dodds Date: Wed, 29 Apr 2015 10:08:17 +0000 (+0000) Subject: Fix bug in gdb-remote xml parser which failed to parse xml split over multiple rsp... X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ed9f612639bff7be584a0d9ed619a49ba96699ac;p=platform%2Fupstream%2Fllvm.git Fix bug in gdb-remote xml parser which failed to parse xml split over multiple rsp packets. llvm-svn: 236095 --- diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp index dd4b106..071353f 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp @@ -3853,12 +3853,13 @@ GDBRemoteCommunicationClient::ReadExtFeature (const lldb_private::ConstString ob // last chunk case ( 'l' ): active = false; - // fall through intensional + // fall through intentional // more chunks case ( 'm' ) : if ( str.length() > 1 ) output << &str[1]; + offset += size; break; // unknown chunk