Skip to main content
Glama
sbergeron42

gdb-multiarch-mcp

by sbergeron42

switch_my_bt

Generate absolute address backtraces for Nintendo Switch debugging by walking the frame pointer chain. Use with gdb-multiarch-mcp to analyze game execution flow.

Instructions

Print the backtrace as absolute addresses by walking the frame pointer chain. Often misses the first address — use 'p/x $lr' for that.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler in `call_tool` that executes the `my_bt` command via `session.execute_command`.
    elif name == "switch_my_bt":
        result = session.execute_command("my_bt")
  • Tool definition and registration for `switch_my_bt`.
        name="switch_my_bt",
        description=(
            "Print the backtrace as absolute addresses by walking the frame pointer "
            "chain. Often misses the first address — use 'p/x $lr' for that."
        ),
        inputSchema=NO_ARGS_SCHEMA,
    ),

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sbergeron42/gdb-multiarch-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server