aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2021-11-24 14:11:22 +0100
committerPavel Labath <pavel@labath.sk>2021-11-25 12:33:23 +0100
commita6fedbf20c8f87061f333169120790e2c6f22806 (patch)
treed6867016a310103929bb35f1926fc563111bee5f /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
parent63b1e58f0738cc9977b47f947679ef5544808b73 (diff)
downloadllvm-a6fedbf20c8f87061f333169120790e2c6f22806.zip
llvm-a6fedbf20c8f87061f333169120790e2c6f22806.tar.gz
llvm-a6fedbf20c8f87061f333169120790e2c6f22806.tar.bz2
[lldb/gdb-remote] Remove initial pipe-draining workaround
This code, added in rL197579 (Dec 2013) is supposed to work around what was presumably a qemu bug, where it would send unsolicited stop-reply packets after the initial connection. At present, qemu does not exhibit such behavior. Also, the 10ms delay introduced by this code is sufficient to mask bugs in other stubs, but it is not sufficient to *reliably* mask those bugs. This resulted in flakyness in one of our stubs, which was (incorrectly) sending a + packet at the start of the connection, resulting in a small-but-annoying number of dropped connections. Differential Revision: https://reviews.llvm.org/D114529
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp')
0 files changed, 0 insertions, 0 deletions