reverse-step
Step backwards one source line or instruction (enters calls)
How to use it
Project documentation lists reverse-step for the Gdb MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.
Install Gdb MCP
uv tool install git+https://github.com/schuay/gdb-mcp.gitOther tools in Gdb MCP (8)
Show all active sessions with idle time and kind (gdb / rr-replay)
Run backwards to the previous breakpoint or watchpoint
Run backwards to where the current function was called
Step backwards one source line or instruction (skips calls)
Record a program execution; returns tracedir for later replay
Start an rr replay session; accepts tracedir from rrrecord, or omit to replay the latest recording
Spawn a GDB process, optionally loading a binary
Kill a session and free its resources