Skip to content

Conversation

DavidSpickett
Copy link
Collaborator

Added in 1902ffd 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 in 1902ffd 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.
@DavidSpickett DavidSpickett added the skip-precommit-approval PR for CI feedback, not intended for review label Oct 8, 2025
@llvmbot llvmbot added the lldb label Oct 8, 2025
@DavidSpickett DavidSpickett enabled auto-merge (squash) October 8, 2025 11:03
@llvmbot
Copy link
Member

llvmbot commented Oct 8, 2025

@llvm/pr-subscribers-lldb

Author: David Spickett (DavidSpickett)

Changes

Added in 1902ffd 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.


Full diff: https://github.com/llvm/llvm-project/pull/162453.diff

1 Files Affected:

  • (modified) lldb/packages/Python/lldbsuite/test/gdbclientutils.py (-1)
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

@DavidSpickett DavidSpickett merged commit 7da07c0 into llvm:main Oct 8, 2025
10 of 11 checks passed
@DavidSpickett DavidSpickett deleted the lldb-packetlog branch October 8, 2025 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lldb skip-precommit-approval PR for CI feedback, not intended for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants