[Lldb-commits] [lldb] support attaching by name for platform android (PR #160931)

Chad Smith via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 8 16:44:07 PDT 2025


cs01 wrote:

If there is > 1 process with the same name, this occurs:
```
(lldb) process attach -n sleep
error: attach failed: more than one process named sleep:
PID    PARENT USER       TRIPLE                         ARGUMENTS
====== ====== ========== ============================== ============================
5231   4741   root       armv7-unknown-linux-android    sleep 10000
5232   4741   root       armv7-unknown-linux-android    sleep 10000
5233   4741   root       armv7-unknown-linux-android    sleep 10000
5330   4741   root       armv7-unknown-linux-android    sleep 10006
```

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


More information about the lldb-commits mailing list