gdb_command
Execute any GDB command on a J-Link connected target and retrieve the output. For run commands, waits until target halts or timeout.
Instructions
Send any GDB command and get the response. For execution commands (continue, step, next, finish, until), blocks until the target stops or times out. If the target doesn't stop, use gdb_wait to poll. Examples: 'bt' (backtrace), 'info threads', 'print myVar', 'break main', 'continue', 'next', 'step', 'finish', 'info registers', 'x/10xw 0x20000000'
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | GDB command to execute | |
| timeout | No | Timeout in ms for run commands (default 15000) |