gdb_execute_command
Execute raw GDB commands for debugging Nintendo Switch executables on Yuzu or hardware via GDB stub.
Instructions
Execute a raw GDB command (CLI or MI). For Switch-specific operations, prefer the dedicated switch_* tools. IMPORTANT: Do NOT use 'target remote' or 'target extended-remote' — the session auto-connects to the Switch on first use. Do NOT use 'attach' or 'monitor wait application' — handled automatically. $main is already set to the base address of the game executable.
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": {
"command": "<command>"
},
"name": "gdb_execute_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | GDB command to execute |