diff options
author | Greg Clayton <gclayton@apple.com> | 2011-03-10 02:26:48 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2011-03-10 02:26:48 +0000 |
commit | c574ede632c2fa21283a2ed97bef2b6d6307ef9e (patch) | |
tree | 6364326e2ced992b7743f0bbb644239c7a9bc4e9 /lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp | |
parent | a1a2e8decbb98dee821f06fed13b0cad1a7e3297 (diff) | |
download | bcm5719-llvm-c574ede632c2fa21283a2ed97bef2b6d6307ef9e.tar.gz bcm5719-llvm-c574ede632c2fa21283a2ed97bef2b6d6307ef9e.zip |
Centralize the GDB remote timeout value into the GDBRemoteCommunication as a
member variable (m_packet_timeout which is a value in seconds). This value is
then used for all packets sent to/from the remote GDB server.
llvm-svn: 127392
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp index 99ce588a30d..9955409226a 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp @@ -264,7 +264,7 @@ ThreadGDBRemote::GetPrivateStopReason () char packet[256]; ::snprintf(packet, sizeof(packet), "qThreadStopInfo%x", GetID()); StringExtractorGDBRemote stop_packet; - if (GetGDBProcess().GetGDBRemote().SendPacketAndWaitForResponse(packet, stop_packet, 1, false)) + if (GetGDBProcess().GetGDBRemote().SendPacketAndWaitForResponse(packet, stop_packet, false)) { GetGDBProcess().SetThreadStopInfo (stop_packet); } |