summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2013-07-15 22:54:20 +0000
committerGreg Clayton <gclayton@apple.com>2013-07-15 22:54:20 +0000
commit7f98240df65cfabd6d4bbf95907711f6a2734298 (patch)
treeda16a1bed64b0e9ea58667b300a3ee4907e69b4f /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
parent1c1d6c166627733e880546387bca5070d8aaa993 (diff)
downloadbcm5719-llvm-7f98240df65cfabd6d4bbf95907711f6a2734298.tar.gz
bcm5719-llvm-7f98240df65cfabd6d4bbf95907711f6a2734298.zip
<rdar://problem/13793059>
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
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h8
1 files changed, 0 insertions, 8 deletions
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);
OpenPOWER on IntegriCloud