summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPythonInterface.cpp
diff options
context:
space:
mode:
authorAlexandre Perez <alexandreperez@meta.com>2025-07-02 17:03:05 -0700
committerGitHub <noreply@github.com>2025-07-02 17:03:05 -0700
commita068ed288af16df0d6189fd830216bbfa6257016 (patch)
tree0745a7acd46e390f053ce0b61a753c61981d10e0 /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPythonInterface.cpp
parentf01017ca9711a69c3dd6b848af583a901fd03450 (diff)
[lldb][mcp] Fix unix domain socket protocol server addresses (#146603)
When starting an MCP protocol server that uses unix sockets as the transport, a local `'[0.0.0.0]:0'` file is used instead of the supplied socket path, e.g: ``` (lldb) protocol-server start MCP accept:///tmp/some/path.sock MCP server started with connection listeners: unix-connect://[0.0.0.0]:0 (lldb) shell ls '[*' [0.0.0.0]:0 ``` This change makes it so that the URI path is used if the socket protocol is `ProtocolUnixDomain`: ``` (lldb) protocol-server start MCP accept:///tmp/some/path.sock MCP server started with connection listeners: unix-connect:///tmp/some/path.sock ```
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions