Execute gdb command
gdb_execExecute a GDB debugging command and retrieve all output since the prior command. An empty command polls for new output.
Instructions
Send a gdb command and return all output since the previous gdb_exec or gdb_interrupt call. Empty command only polls output.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| timeout | No | ||
| max_output_bytes | No | Optional maximum returned output size in bytes. Keeps the tail with a truncation marker. | |
| command | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | Yes | ||
| completion_reason | Yes | ||
| saw_prompt | Yes | ||
| timed_out | Yes | ||
| session_exited | Yes | ||
| at_prompt | Yes | ||
| command_pending | Yes | ||
| needs_interrupt | Yes | ||
| bytes | Yes | ||
| duration_ms | Yes | ||
| truncated | Yes | ||
| omitted_bytes | Yes | ||
| internal_buffer_bytes | Yes |