From 7f98240df65cfabd6d4bbf95907711f6a2734298 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Mon, 15 Jul 2013 22:54:20 +0000 Subject: Added a setting to control timeout for kdp response packets. While I was at it, I also added a way to control the response timeout for gdb-remote packets. KDP defaults to 5 seconds, and GDB defaults to 1 second. These were the default values that were in the code prior to adding these settings. (lldb) settings set plugin.process.gdb-remote.packet-timeout 10 (lldb) settings set plugin.process.kdp-remote.packet-timeout 10 llvm-svn: 186360 --- .../Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h') diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h index 4075eebddec..5bb8387b909 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h @@ -285,14 +285,6 @@ public: return GetVContSupported ('a'); } - uint32_t - SetPacketTimeout (uint32_t packet_timeout) - { - const uint32_t old_packet_timeout = m_packet_timeout; - m_packet_timeout = packet_timeout; - return old_packet_timeout; - } - bool GetStopReply (StringExtractorGDBRemote &response); -- cgit v1.2.3