[Lldb-commits] [lldb] 63865e1 - Add the "sent break" message to the "gdb-remote packets" channel

Jim Ingham via lldb-commits lldb-commits at lists.llvm.org
Tue May 10 13:29:09 PDT 2022


Author: Jim Ingham
Date: 2022-05-10T13:28:50-07:00
New Revision: 63865e1fce624422a526f0de603aa87b7dddb49a

URL: https://github.com/llvm/llvm-project/commit/63865e1fce624422a526f0de603aa87b7dddb49a
DIFF: https://github.com/llvm/llvm-project/commit/63865e1fce624422a526f0de603aa87b7dddb49a.diff

LOG: Add the "sent break" message to the "gdb-remote packets" channel

It was originally only in "gdb-remote process" but it is convenient to
also have it come as part of gdb-remote packets.

Added: 
    

Modified: 
    lldb/source/Plugins/Process/gdb-remote/GDBRemoteClientBase.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteClientBase.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteClientBase.cpp
index 8364ffeef46fa..e3a3cfc4f23ea 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteClientBase.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteClientBase.cpp
@@ -347,7 +347,7 @@ GDBRemoteClientBase::Lock::Lock(GDBRemoteClientBase &comm,
 }
 
 void GDBRemoteClientBase::Lock::SyncWithContinueThread() {
-  Log *log = GetLog(GDBRLog::Process);
+  Log *log = GetLog(GDBRLog::Process|GDBRLog::Packets);
   std::unique_lock<std::mutex> lock(m_comm.m_mutex);
   if (m_comm.m_is_running && m_interrupt_timeout == std::chrono::seconds(0))
     return; // We were asked to avoid interrupting the sender. Lock is not


        


More information about the lldb-commits mailing list