gdb_read_output
Retrieve the current output buffer from GDB, enabling real-time viewing of program output without waiting for a prompt.
Instructions
读取 GDB 当前输出缓冲区中的内容。
不等待 prompt,仅读取当前可用的输出。用于查看正在运行程序的输出。
Args: timeout: 等待输出的最大秒数
Returns: 当前缓冲区中的输出内容
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |