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

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 7 02:28:47 PDT 2025


DavidSpickett wrote:

I assume this is stacked on the other PR, please leave a comment saying so in future or configure whatever tool to do that for you.

>  found it helpful to have both sides of the simulated gdb-rsp traffic rather than just the responses

There's at least 4 sides here, so please clarify :)

>From the client's point of view, it sends stuff and receives stuff. Then the server also has it's perspective.

So this change adds logging from the server's perspective?

Because you are adding send and receive, not just one. Which is what I first assumed when I saw "bidirectional" like it was only the sent packets and you're adding the received packets.

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


More information about the lldb-commits mailing list