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

Daniel Sanders via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 20 11:50:29 PDT 2025


dsandersllvm wrote:

> Please fix the formatting and update the PR description to reflect the latest changes.

Done

> And I assume all the annotations are 3.8 compatible? At least according to vermin or pyright, whichever you prefer.

Oops, I added a 3.12 line (the type alias) at some point. Corrected it to be 3.8 compatible.
```
❯ uvx vermin -v -t 3.8 lldb/packages/Python/lldbsuite/test/gdbclientutils.py lldb/packages/Python/lldbsuite/test/lldbgdbclient.py lldb/test/API/functionalities/gdb_remote_client/TestContinue.py lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteClient.py lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteLoad.py lldb/test/API/functionalities/gdb_remote_client/TestGDBRemotePlatformFile.py
Detecting python files..
Analyzing 6 files using 10 processes..
!2, 3.6      /Volumes/Data/llvm.org/lldb/llvm-project/lldb/packages/Python/lldbsuite/test/gdbclientutils.py
!2, 3.0      /Volumes/Data/llvm.org/lldb/llvm-project/lldb/packages/Python/lldbsuite/test/lldbgdbclient.py
~2, ~3       /Volumes/Data/llvm.org/lldb/llvm-project/lldb/test/API/functionalities/gdb_remote_client/TestContinue.py
!2, 3.6      /Volumes/Data/llvm.org/lldb/llvm-project/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteClient.py
2.4, 3.0     /Volumes/Data/llvm.org/lldb/llvm-project/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteLoad.py
2.4, 3.0     /Volumes/Data/llvm.org/lldb/llvm-project/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemotePlatformFile.py

Tips:
- Generic or literal annotations might be in use. If so, try using: --eval-annotations
  But check the caveat section: https://github.com/netromdk/vermin#caveats
- You're using potentially backported modules: enum, typing
  If so, try using the following for better results: --backport enum --backport typing
- Since '# novm' or '# novermin' weren't used, a speedup can be achieved using: --no-parse-comments
(disable using: --no-tips)

Minimum required versions: 3.6
Incompatible versions:     2.x
```


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


More information about the lldb-commits mailing list