llvm-project
8d4c1f2b - [lldb] Show a process picker in process attach without a pid

Commit
1 day ago
[lldb] Show a process picker in process attach without a pid This patch makes `process attach` show an `IOHandlerPicker` listing the processes on the selected platform, with their pid, name, and architecture, when it is run without a pid or process name and the target has no executable to fall back on. `platform process attach` does the same whenever no pid or name is given. Scripted process attaches (`-C`) are left unchanged. When the input is not an interactive terminal, both commands skip the picker and fail the same way they did before, and canceling the picker fails with "no process selected". Assisted-by: Claude Signed-off-by: Med Ismail Bennani <ismail@bennani.ma>
Author
Committer
Parents
Loading