summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2013-10-10 17:53:50 +0000
committerGreg Clayton <gclayton@apple.com>2013-10-10 17:53:50 +0000
commit896005804d7b910e03b0f3f5784ad5cb06032a3e (patch)
treeaef6c34b9ecc9a72eed77b0a4c0e068f7a6d610a /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
parentdd88bfd09261e397c61c26caa414db4fb14ceb65 (diff)
downloadbcm5719-llvm-896005804d7b910e03b0f3f5784ad5cb06032a3e.tar.gz
bcm5719-llvm-896005804d7b910e03b0f3f5784ad5cb06032a3e.zip
<rdar://problem/14146606>
Fixed an issue where environment variables that contained special characters '$' and '#' would hose up the GDB server packet. We now use the QEnvironmentHexEncoded packet that has existed for a long time when we need to. Also added code that will stop sending the QEnvironmentHexEncoded and QEnvironment packets if they aren't supported. llvm-svn: 192373
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
index 535a69c248e..97c3f9fa798 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
@@ -446,7 +446,9 @@ protected:
m_supports_z1:1,
m_supports_z2:1,
m_supports_z3:1,
- m_supports_z4:1;
+ m_supports_z4:1,
+ m_supports_QEnvironment:1,
+ m_supports_QEnvironmentHexEncoded:1;
lldb::tid_t m_curr_tid; // Current gdb remote protocol thread index for all other operations
OpenPOWER on IntegriCloud