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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | GDB command to execute |