[Lldb-commits] [lldb] r236095 - Fix bug in gdb-remote xml parser which failed to parse xml split over multiple rsp packets.

Aidan Dodds aidan at codeplay.com
Wed Apr 29 03:08:18 PDT 2015


Author: aidandodds
Date: Wed Apr 29 05:08:17 2015
New Revision: 236095

URL: http://llvm.org/viewvc/llvm-project?rev=236095&view=rev
Log:
Fix bug in gdb-remote xml parser which failed to parse xml split over multiple rsp packets.

Modified:
    lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp

Modified: lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp?rev=236095&r1=236094&r2=236095&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp (original)
+++ lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp Wed Apr 29 05:08:17 2015
@@ -3853,12 +3853,13 @@ GDBRemoteCommunicationClient::ReadExtFea
             // 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





More information about the lldb-commits mailing list