Fix bug in gdb-remote xml parser which failed to parse xml split over multiple rsp...
authorAidan Dodds <aidan@codeplay.com>
Wed, 29 Apr 2015 10:08:17 +0000 (10:08 +0000)
committerAidan Dodds <aidan@codeplay.com>
Wed, 29 Apr 2015 10:08:17 +0000 (10:08 +0000)
llvm-svn: 236095

lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp

index dd4b106..071353f 100644 (file)
@@ -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