Typing stubs for GDB (GNU Debugger) provided by typeshed. Version 16.3.0.20260408 provides type annotations for the gdb Python module, enabling static type checking with mypy or pyright. Stubs are updated weekly to match the latest GDB release.
pip install types-gdbVerified import paths — ran on the pinned version, not inferred.
Register a breakpoint event handler using typed stubs.
Replace 'from gdb.types import ...' with 'import gdb' and use gdb.Type directly.
Upgrade to 16.x and ensure your type hints match the new stub signatures.
Ensure GDB is installed (e.g., 'apt install gdb') separately from the stubs.