gdb_connect
Connect a GDB client to a running GDB server, enabling source-level debugging with backtraces, variable inspection, and conditional breakpoints. Optionally load an ELF file for symbol info.
Instructions
Connect a GDB client to the running GDB server. Enables source-level debugging: backtraces, variable inspection, conditional breakpoints, stepping by source line. Optionally load an ELF file for symbol info.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | GDB server host (default: localhost) | |
| port | No | GDB server port (default: 2331) | |
| elfFile | No | Path to .elf file with debug symbols (enables source-level debugging) |