Fix bug in gdb-remote xml parser which failed to parse xml split over multiple rsp packets.

llvm-svn: 236095
This commit is contained in:
Aidan Dodds 2015-04-29 10:08:17 +00:00
parent a9f20495a2
commit ed9f612639
1 changed files with 2 additions and 1 deletions

View 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