<rdar://problem/13793059>
authorGreg Clayton <gclayton@apple.com>
Mon, 15 Jul 2013 22:54:20 +0000 (22:54 +0000)
committerGreg Clayton <gclayton@apple.com>
Mon, 15 Jul 2013 22:54:20 +0000 (22:54 +0000)
commit7f98240df65cfabd6d4bbf95907711f6a2734298
treeda16a1bed64b0e9ea58667b300a3ee4907e69b4f
parent1c1d6c166627733e880546387bca5070d8aaa993
<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
lldb/include/lldb/Core/PluginManager.h
lldb/source/Core/PluginManager.cpp
lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.h
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h