commit | 974ff61c57322b6d419a3205a43e42b72671a080 | [log] [tgz] |
---|---|---|
author | Tim Northover <tnorthover@apple.com> | Mon Nov 09 22:05:05 2015 +0000 |
committer | Tim Northover <tnorthover@apple.com> | Mon Nov 09 22:05:05 2015 +0000 |
tree | 461c8799228ac7ac1d4e24bf9f6cc1234eaf84fc | |
parent | 5b0ae794b6f039d69dc3e385442d8f058de6a278 [diff] [blame] |
Avoid sending bare '*' and '}' in an lldb-server packet They get treated as special RLE encoding symbols and packets get corrupted. Most other packet types already know about this apparently, but QEnvironment missed these two. Should fix PR25300. llvm-svn: 252521
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp index 4998afc..7b193f0 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
@@ -1584,6 +1584,7 @@ case '$': case '#': case '*': + case '}': send_hex_encoding = true; break; default: