gdb_load
Load an ELF file into GDB for source-level debugging with symbols. Set flash=true to additionally program the firmware onto the target.
Instructions
Load an ELF file into GDB. By default loads symbols only (for source-level debugging: backtraces with file:line, variable names). Set flash=true to also program it onto the target.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"elfFile": "<elfFile>"
},
"name": "gdb_load"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flash | No | Also flash the ELF to the target (default: false, symbols only) | |
| elfFile | Yes | Path to .elf file with debug symbols |