Skip to main content
Glama
sbergeron42

gdb-multiarch-mcp

by sbergeron42

gdb_get_status

Check the current status of a GDB debugging session to monitor execution state and debugger activity for Nintendo Switch executables.

Instructions

Get the current status of the GDB session.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The `get_status` method inside the `GDBSession` class in `gdb_interface.py` provides the actual logic for retrieving the session status.
    def get_status(self) -> dict[str, Any]:
        """Get the current status of the GDB session."""
        return {
            "is_running": self.is_running,
            "target_loaded": self.target_loaded,
            "has_controller": self.controller is not None,
        }
  • The tool `gdb_get_status` is registered in `server.py` as part of the tool definitions.
    Tool(
        name="gdb_get_status",
        description="Get the current status of the GDB session.",
        inputSchema=NO_ARGS_SCHEMA,
    ),
  • The request handler in `server.py` dispatches the `gdb_get_status` tool to `session.get_status()`.
    elif name == "gdb_get_status":
        result = session.get_status()

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