连接远程目标板
gdb_connectConnect to a remote gdbserver or QEMU over TCP to enable debugging of embedded targets.
Instructions
通过TCP连接到目标板的gdbserver或QEMU。
参数:
target: 目标地址,格式为 host:port (例如 192.168.1.100:1234 或 localhost:1234)
示例:
gdb_connect({target: "localhost:1234"}) → 连接本地QEMU
gdb_connect({target: "192.168.1.100:1234"}) → 连接远程目标板
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Remote target address, e.g., 192.168.1.100:1234 or localhost:1234 |