Open External GDB Bridge
debug_bridge_startBridges a prepared serial session to an authorized external GDB over pinned TLS/TCP, returning a secret connection descriptor for rsp-client. Requires explicit acknowledgment that target readiness cannot be verified passively.
Instructions
Bridge an already prepared serial Session to one authorized external GDB via pinned TLS/TCP. Does not start or control GDB/gdbserver or probe RSP. Target readiness cannot be inferred from silence: explicit acknowledgement is required after preparing the target. Returns a secret connection descriptor for channelterm rsp-client. Defaults to loopback; a specific non-loopback bind requires allowed_peer. Reuse owner/request_id and all parameters exactly for retries. Current rsp-client connections maintain the management lease automatically, even without RSP traffic. Renew every 30 seconds before connecting, after disconnect, or with legacy helpers. All bridges have a 24-hour maximum lifetime. Use debug_bridge_report for actual externally executed commands, results, and observed states (Codex reports, not a complete audit).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Secret management capability, 32..128 characters; distinct from the generated TCP connection token. | |
| request_id | Yes | Unique start request ID, 1..128 characters; exact retries return the original bridge. | |
| session_id | Yes | Active Session ID or short reference. Must be an open serial Session. | |
| allowed_peer | No | One numeric client IP. Required for non-loopback binding. Authentication is still mandatory. | |
| listen_address | No | Specific numeric IP:port. Omit to rotate through unallocated loopback ports 37100..37999 then fall back to an OS dynamic port. Explicit ports never fall back; explicit zero requests an OS dynamic port. No wildcard binds. | |
| strict_port_pool | No | When listen_address is omitted, fail if ports 37100..37999 are exhausted instead of using an OS dynamic port. Default false. Explicit listen_address overrides the pool policy. | |
| acknowledge_unverified_target | Yes | Must be true after preparing the target for raw RSP and saving its stty -g state. This acknowledges that passive checks cannot prove gdbserver readiness. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| connection | Yes |