Issue 144817
Summary [lldb] lldb-server abstract domain socket issue?
Labels new issue
Assignees
Reporter splhack
    lldb-server used to spawn two processes for platform and gdbserver.

```
root         13274 13249 lldb-server platform --server --listen unix-abstract:///lldb-5490d6e5-74f6-457d-9aad-88182d21f407
root 13277 13274  lldb-server gdbserver unix-abstract:///data/local/tmp/lldb/13274/gdbserver.88ed64 --native-regs --pipe 6
```

lldb uses this code to determine the abstract domain socket name

https://github.com/llvm/llvm-project/blob/874a02f05b6ebb4b5dbe0ab09beb9c3d5b36e237/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp#L111

But current version of lldb-server only spawns platform one.
Is this expected?

If lldb-server shares the abstract domain socket for platform and gdbserver,
the GDBRemoteCommunicationServerPlatform.cpp should be updated to use platform one instead?
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to