diff options
author | Greg Clayton <gclayton@apple.com> | 2013-10-25 18:13:17 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2013-10-25 18:13:17 +0000 |
commit | 9ac6d2db7368a9ad55111c39605c1aefa220390e (patch) | |
tree | acbb777bb75cc37841c17cf75f938a1a31596216 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h | |
parent | d334b1a326a94489cbe2c37ac7adb4457437ad66 (diff) | |
download | bcm5719-llvm-9ac6d2db7368a9ad55111c39605c1aefa220390e.tar.gz bcm5719-llvm-9ac6d2db7368a9ad55111c39605c1aefa220390e.zip |
<rdar://problem/15263540>
Added a new key that we understand for the "qHostInfo" packet: "default_packet_timeout:T;" where T is a default packet timeout in seconds.
This allows GDB servers with known slow packet response times to increase the default timeout to a value that makes sense for the connection.
llvm-svn: 193425
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h index 97c3f9fa798..d5535bbb1df 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h @@ -220,6 +220,9 @@ public: const lldb_private::ArchSpec & GetHostArchitecture (); + + uint32_t + GetHostDefaultPacketTimeout(); const lldb_private::ArchSpec & GetProcessArchitecture (); @@ -476,6 +479,7 @@ protected: std::string m_os_build; std::string m_os_kernel; std::string m_hostname; + uint32_t m_default_packet_timeout; bool DecodeProcessInfoResponse (StringExtractorGDBRemote &response, |