<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/144817>144817</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[lldb] lldb-server abstract domain socket issue?
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
splhack
</td>
</tr>
</table>
<pre>
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?
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyUVNuOpDYQ_RrzYrllbHN74KFnR0Qr5WGVfIEvReMs2Mg2PTt_Hxm6p9ORWkpQCSygTp06Pi4Zo704gB5Vb6h6L-SWJh_6uM6T1D8L5c1nP89GkQjhCgFvEQxOHsdVfjicPjxeg9cQI0Q8-oDXWabRhwVLZ_DFqCPthOg5R01vQc_B-4TvV8lZI_JddPif1b7QyP0NIbONCRzenP1FpIopSJ0QPyM2HLHnV6KjpoaKNGKsiagaQzopDWnbsmWGlaOgzZ1ELt7cKDxV_6L_upiRSeaaXssZsSEt640BYsOOiNjwUKFtwdQCE-JkslcgAS4RE7LaFXD9L30QPWecLHjEabIRa28gS28gQVisA5wmwHdW2PhFWoej1z8hYScXOFCmlNb4xfli07Spk_bLTvR6f5A1-L9AJ8QGNftMv22EpGyklapBKaEqo4BKRTsFqtPcVIrXwHjzaDj6LWhAbPgxbxfrYl4d5jhUIAEWn_IPv72__bGvv_ll2ZzVMlnv_txV-nHb85NeV8T472VZHo28bQnrLQRwCV8hROsd9uPTjnk3fx7WjA_veAfZf99vMsKvFXQCg_hw4H5_xoiTDLvkL7V97XPEviF6zqn_tUMcJ7_NBivA22pkOk7XFuGJP7YuJpCZc2F6bjreyQL6sqko64QoeTH13Ug7JlnTCaBtaRjlYhRMVpKWDW2kKGzPKKtoXXaUVpzzk67M2DWi5ZXk2nQNEhQWaedTNsTJh0thY9ygL4Voy6aYpYI57oOCMQcfeP-KGMtzI_S7i9R2iUjQfEbjAybZNO8TZjdK9f6k9wuRD3A-FFuY-__t4T072-7G_dqzvwMAAP__FoWcog">