[Lldb-commits] [lldb] [lldb][docs] Some fixes for lldbgdbremote.md. (PR #200079)

Prashanth Mundkur via lldb-commits lldb-commits at lists.llvm.org
Thu May 28 08:50:29 PDT 2026


================

----------------
pmundkur wrote:

> If we add an example where we send a triple, that would show the difference.

The third exchange in the example clarifies that triples in the sent packet are not hex encoded; the first two need changing.  I do not have a `x86_64-apple-macosx` system with me.   Is it okay if I replace the first two exchanges with

```
send packet: $qfProcessInfo:name_match:contains;name:656d616373;all_users:0;#21
read packet: $pid:4086;ppid:2681;uid:1000;gid:1000;euid:1000;egid:1000;name:2f7573722f62696e2f656d6163732d67746b;args:656d616373-2d2d6461656d6f6e;triple:7838365f36342d2d6c696e75782d676e75;#07
send packet: $qsProcessInfo#4f
read packet: $pid:146456;ppid:1;uid:1000;gid:1000;euid:1000;egid:1000;name:2f7573722f62696e2f656d6163732d67746b;args:2f7573722f62696e2f656d616373;triple:7838365f36342d2d6c696e75782d676e75;#e2
```
(which corresponds to
```
2 matching processes were found on "remote-linux"
 whose name contained "emacs"
PID    PARENT USER       TRIPLE                         NAME
====== ====== ========== ============================== ============================
4086   2681   mundkur    x86_64-unknown-linux-gnu       emacs-gtk
146456 1      mundkur    x86_64-unknown-linux-gnu       emacs-gtk
```
)

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


More information about the lldb-commits mailing list