gdb_connect
Connect a GDB client to a running GDB server for source-level debugging: backtraces, variable inspection, conditional breakpoints, and stepping. Optionally load an ELF file to resolve symbols.
Instructions
Connect a GDB client to the running GDB server. Enables source-level debugging: backtraces, variable inspection, conditional breakpoints, stepping by source line. Optionally load an ELF file for symbol info.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "gdb_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | GDB server host (default: localhost) | |
| port | No | GDB server port (default: 2331) | |
| elfFile | No | Path to .elf file with debug symbols (enables source-level debugging) |