[Lldb-commits] [lldb] r252239 - GDBRemoteCommunicationClient::SendEnvironmentPacket should use the hex-encoded

Jason Molenda via lldb-commits lldb-commits at lists.llvm.org
Thu Nov 5 15:51:05 PST 2015


Author: jmolenda
Date: Thu Nov  5 17:51:05 2015
New Revision: 252239

URL: http://llvm.org/viewvc/llvm-project?rev=252239&view=rev
Log:
GDBRemoteCommunicationClient::SendEnvironmentPacket should use the hex-encoded
env packet if the '*' character used for run length encoding is present.

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=252239&r1=252238&r2=252239&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp (original)
+++ lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp Thu Nov  5 17:51:05 2015
@@ -1583,6 +1583,7 @@ GDBRemoteCommunicationClient::SendEnviro
                 {
                     case '$':
                     case '#':
+                    case '*':
                         send_hex_encoding = true;
                         break;
                     default:




More information about the lldb-commits mailing list