[Lldb-commits] [lldb] [lldb] Add bidirectional packetLog to gdbclientutils.py (PR #162176)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 8 03:48:56 PDT 2025


================
@@ -86,8 +88,8 @@ class MockGDBServerResponder:
     handles any packet not recognized in the common packet handling code.
     """
 
-    registerCount = 40
-    packetLog = None
----------------
DavidSpickett wrote:

This predates you, but I wonder why we even have a class level attribute for this? Maybe I am misunderstanding some aspect of Python because it seems to me that the packet log should never be None. Empty list, sure, but not None.

https://github.com/llvm/llvm-project/pull/162176


More information about the lldb-commits mailing list