[Lldb-commits] [lldb] [lldb][docs] Some fixes for lldbgdbremote.md. (PR #200079)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Thu May 28 02:17:29 PDT 2026
================
@@ -1312,7 +1312,7 @@ some key value pairs. The key value pairs in the command are:
be listed for all users, not just the user that the
platform is running as
* `triple` - `string` -
- An ASCII triple string (`x86_64`, `x86_64-apple-macosx`, `armv7-apple-ios`)
+ An hex encoded triple string (hex encodings of `x86_64`, `x86_64-apple-macosx`, `armv7-apple-ios`)
----------------
DavidSpickett wrote:
It's because you have to give --arch and something else. Which is, a choice. Seems like it should work just fine on its own, but anyway:
```
(lldb) platform process list --arch arm64 --contains abc
lldb < 93> send packet: $qfProcessInfo:name_match:contains;name:616263;all_users:0;triple:ar
m64-unknown-linux-gnu;#da
lldb < 7> read packet: $E03#a8
error: no processes were found that contained "abc" on the "remote-linux" platform
```
It is not hex encoded.
So this packet is:
* Sending a normal triple string
* Expecting to receive a hex encoded triple string
Which isn't great but it is what it is so I think this part of the doc is actually correct.
https://github.com/llvm/llvm-project/pull/200079
More information about the lldb-commits
mailing list