diff options
author | Jim Ingham <jingham@apple.com> | 2021-05-17 15:31:54 -0700 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2021-05-17 15:37:26 -0700 |
commit | 82a38837150099288a1262391ef43e1fd69ffde4 (patch) | |
tree | 82c341db9c5a4e84c194dc10430975a3b6b8231e /lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp | |
parent | a6d3987b8ef3b7616f0835b89515c4264f2a7a64 (diff) | |
download | llvm-82a38837150099288a1262391ef43e1fd69ffde4.zip llvm-82a38837150099288a1262391ef43e1fd69ffde4.tar.gz llvm-82a38837150099288a1262391ef43e1fd69ffde4.tar.bz2 |
Revert "Reset the wakeup timeout when we re-enter the continue wait."
This reverts commit bd5751f3d249ec0798060bd98c07272174c52af0.
This patch series is causing us to every so often miss switching
the state from eStateRunning to eStateStopped when we get the stop
packet from the debug server.
Reverting till I can figure out how that could be happening.
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp index 56a3a16..1f50194 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp @@ -364,7 +364,7 @@ bool GDBRemoteRegisterContext::WriteRegisterBytes(const RegisterInfo *reg_info, reg_info->byte_size, // dst length m_reg_data.GetByteOrder())) // dst byte order { - GDBRemoteClientBase::Lock lock(gdb_comm); + GDBRemoteClientBase::Lock lock(gdb_comm, false); if (lock) { if (m_write_all_at_once) { // Invalidate all register values @@ -508,7 +508,7 @@ bool GDBRemoteRegisterContext::ReadAllRegisterValues( const bool use_g_packet = !gdb_comm.AvoidGPackets((ProcessGDBRemote *)process); - GDBRemoteClientBase::Lock lock(gdb_comm); + GDBRemoteClientBase::Lock lock(gdb_comm, false); if (lock) { if (gdb_comm.SyncThreadState(m_thread.GetProtocolID())) InvalidateAllRegisters(); @@ -574,7 +574,7 @@ bool GDBRemoteRegisterContext::WriteAllRegisterValues( const bool use_g_packet = !gdb_comm.AvoidGPackets((ProcessGDBRemote *)process); - GDBRemoteClientBase::Lock lock(gdb_comm); + GDBRemoteClientBase::Lock lock(gdb_comm, false); if (lock) { // The data_sp contains the G response packet. if (use_g_packet) { |