summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
diff options
context:
space:
mode:
authorAidan Dodds <aidan@codeplay.com>2015-04-29 10:08:17 +0000
committerAidan Dodds <aidan@codeplay.com>2015-04-29 10:08:17 +0000
commited9f612639bff7be584a0d9ed619a49ba96699ac (patch)
tree2d41625ac19a707285b00a82fa4dd4c05d803e70 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
parenta9f20495a27ce28e1266e6db212a125b5624e2f9 (diff)
downloadbcm5719-llvm-ed9f612639bff7be584a0d9ed619a49ba96699ac.tar.gz
bcm5719-llvm-ed9f612639bff7be584a0d9ed619a49ba96699ac.zip
Fix bug in gdb-remote xml parser which failed to parse xml split over multiple rsp packets.
llvm-svn: 236095
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
index dd4b106882c..071353fdf61 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
OpenPOWER on IntegriCloud