Summary
When connected to a remote target, the platform status and platform process list commands report information relevant to the host rather than the target platform.
This appears contrary to the documentation for the platform command
Syntax: platform [connect|disconnect|info|list|status|select] ...
The following subcommands are supported:
connect -- Select the current platform by providing a connection URL.
process -- Commands to query, launch and attach to processes on the current platform.
status -- Display status for the current platform.
Expected behaviour
When connected to a remote target, eg via
gdb-remote <server>:<port>
should show the status of the target platform
Actual behaviour
Displays the status of the host platform
Platform: host
Triple: x86_64-pc-linux-gnu
OS Version: 7.0.9 (7.0.9-arch1-1)
Hostname: 127.0.0.1
Kernel: #1 SMP PREEMPT_DYNAMIC Sun, 17 May 2026 17:23:07 +0000
Kernel: Linux
Release: 7.0.9-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Sun, 17 May 2026 17:23:07 +0000
Similarly, platform process list displays processes local to the host, rather than the target.
Steps to reproduce
On a remote machine
On a local machine
lldb
gdb-remote <remote>:12345
platform status
platform process list
Summary
When connected to a remote target, the
platform statusandplatform process listcommands report information relevant to the host rather than the target platform.This appears contrary to the documentation for the
platformcommandExpected behaviour
When connected to a remote target, eg via
should show the status of the target platform
Actual behaviour
Displays the status of the host platform
Similarly,
platform process listdisplays processes local to the host, rather than the target.Steps to reproduce
On a remote machine
On a local machine