pygdbmi
Parse gdb machine interface output with Python
Decision gist · record as of 2026-08-14
Yes, if you need to parse GDB machine interface output or control GDB from Python. The package is stable, has no dependencies, and works well for its intended purpose. However, choose it with the understanding that maintenance is dormant—it will not be updated for new GDB or Python versions, so verify compatibility with your target environment before committing to it in a new project.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- GDB must be installed on the system; on macOS, GDB may need to be codesigned to work properly.
- Low install friction with no runtime dependencies.
- Maintenance is dormant—last release was 2023-01-29 and last commit 2023-12-27.
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
last release 2023-01-29 (1293 days) · last repo commit 2023-12-27 · 259 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,836,122 downloads/mo, #3,501 on PyPI
Alternatives
Verify before relying
pip install pygdbmi
from pygdbmi.gdbmiparser import parse_response
response = parse_response('^done,bkpt={number="1",type="breakpoint"}')
print(response['type']) # 'result'
print(response['message']) # 'done'- Whether the package works with GDB versions newer than those tested during development.
- Current status of Windows 10 / MinGW / Cygwin compatibility given the dormant maintenance state.
- Python version support beyond 3.10 given the dormant maintenance status.
What it is and what it does
pygdbmi is a Python library that bridges GDB (the GNU debugger) and Python by parsing GDB's machine interface (MI) output into structured, JSON-serializable dictionaries. It serves two main purposes: it can parse raw GDB MI strings into Python dicts with typed fields like message, payload, token, and type, and it provides a GdbController class that spawns GDB as a subprocess and lets you send commands to it, receiving structured responses back. This is useful for building debugger frontends or integrating GDB into larger development tools.
The package has no runtime dependencies and installs cleanly. It supports Python 3.7, 3.8, 3.9, 3.10 and PyPy, and is cross-platform (Linux, macOS, Windows). However, the project is dormant—the last release was 2023-01-29 and the last commit 2023-12-27—so while it remains stable and suitable for established use cases, you should not expect active maintenance or updates for newer GDB versions or Python releases.
Use it for
- Build a web-based or graphical GDB frontend by parsing MI output on the backend.
- Automate debugging workflows by scripting GDB commands and parsing structured responses.
- Integrate GDB into a larger IDE or development tool that needs programmatic control over the debugger.
- Parse and analyze GDB breakpoint, thread, and execution state data for testing or monitoring.
- Create a custom debugger UI that communicates with GDB via MI instead of the CLI.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to parse GDB machine interface output or control GDB from Python.
The package is stable, has no dependencies, and works well for its intended purpose. However, choose it with the understanding that maintenance is dormant—it will not be updated for new GDB or Python versions, so verify compatibility with your target environment before committing to it in a new project.
Install
pygdbmi on PyPI
Before you install
Low install friction with no runtime dependencies. Maintenance is dormant—last release was 2023-01-29 and last commit 2023-12-27. The package is stable but expect no active bug fixes or feature updates.
GDB must be installed on the system; on macOS, GDB may need to be codesigned to work properly.
License in practice
MIT license is permissive; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install pygdbmi
from pygdbmi.gdbmiparser import parse_response
response = parse_response('^done,bkpt={number="1",type="breakpoint"}')
print(response['type']) # 'result'
print(response['message']) # 'done'
Verify before relying
- Whether the package works with GDB versions newer than those tested during development.
- Current status of Windows 10 / MinGW / Cygwin compatibility given the dormant maintenance state.
- Python version support beyond 3.10 given the dormant maintenance status.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Dormant 1,293 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,836,122 / month, #3,501 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: PyPy |
Evidence: pygdbmi-0.11.0.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “gdb machine interface parser”
- pygdbmiParses GDB machine interface output into structured Python…
- esp-idf-panic-decoderParses ESP-IDF panic handler output (registers and stack dumps) and…
- esp-coredumpRetrieves and analyzes core dumps from ESP32 and related…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also types-gdb · gdbmongo · freertos-gdb · pyocd · esp-idf-panic-decoder · debugpy · esp-coredump · EasyProcess · ptyprocess · subprocess.run