switch_get_pc
Retrieve the current program counter offset relative to main's base address for debugging Nintendo Switch executables in gdb-multiarch.
Instructions
Get the current PC as an offset relative to the base of main.
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": "switch_get_pc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||