[Lldb-commits] [lldb] 7da07c0 - [lldb][test] Remove class level packetLog in MockGDBServerResponder (#162453)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Oct 8 04:09:56 PDT 2025
Author: David Spickett
Date: 2025-10-08T11:09:52Z
New Revision: 7da07c081c081edb9f6706cb8ec298c3cee8ec17
URL: https://github.com/llvm/llvm-project/commit/7da07c081c081edb9f6706cb8ec298c3cee8ec17
DIFF: https://github.com/llvm/llvm-project/commit/7da07c081c081edb9f6706cb8ec298c3cee8ec17.diff
LOG: [lldb][test] Remove class level packetLog in MockGDBServerResponder (#162453)
Added in 1902ffd9a4914d4cd03e200ca9050bf3b1564c19 but appears to be
leftover code from some older design.
I can't find any code that reads packetLog via the class itself, or
checks whether it is None.
No tests failed on AArch64 Linux after removing it.
Added:
Modified:
lldb/packages/Python/lldbsuite/test/gdbclientutils.py
Removed:
################################################################################
diff --git a/lldb/packages/Python/lldbsuite/test/gdbclientutils.py b/lldb/packages/Python/lldbsuite/test/gdbclientutils.py
index b603c35c8df09..53e991a1471fd 100644
--- a/lldb/packages/Python/lldbsuite/test/gdbclientutils.py
+++ b/lldb/packages/Python/lldbsuite/test/gdbclientutils.py
@@ -87,7 +87,6 @@ class MockGDBServerResponder:
"""
registerCount = 40
- packetLog = None
class RESPONSE_DISCONNECT:
pass
More information about the lldb-commits
mailing list