Skip to main content

Simple UI for printing GDB memory values

Project description

gdbplotter

Lightweight Python tool that connects to a running gdb server and visualises data from given memory addresses. Be aware that this only really makes sense on target architectures that allow reading the memory while the target is running (e.g. "Cortex Live Watch"). Tested with various STM32 processors and regular STLinks.

Features

  • Communicate with a GDB server and read out specific memory regions
  • Specify decoding rules for each region
  • Simple plotting UI for quick inspection of numeric traces

Installation

Install from pypi

pip install gdbplotter

Install from source into a virtual environment:

uv sync

Usage

  • Run interactively (should be installed into Scripts or bin of the virtualenv by default):
gdbplotter
  • Run as python module (if previous method doesnt work)
python -m gdbplotter
  • Or import in your own scripts:
from gdbplotter import gdbparser
# parse gdb output and plot

Configuration

Upon first run of the GUI, the tool will create a file called gdbplotter_config.json in the working directory — edit this to change default behavior (input paths, plotting options, etc.).

Tests

There is a small test helper in test/gdbservermock.py for development. Run tests or examples manually as needed.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gdbplotter-0.1.1.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gdbplotter-0.1.1-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file gdbplotter-0.1.1.tar.gz.

File metadata

  • Download URL: gdbplotter-0.1.1.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for gdbplotter-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7c58f69bf10a3a7eb308acd16d92c64c4d8b3c8d26a61b6ef477dfab9d9c839a
MD5 1470b3fc10e1cb870b11c88c2106794f
BLAKE2b-256 c138bcb7e4d22ca5c1393f370ab6985ac449fe2379ce8a441413f164d196ec5c

See more details on using hashes here.

Provenance

The following attestation bundles were made for gdbplotter-0.1.1.tar.gz:

Publisher: python-publish.yml on 1atabey1/gdbplotter

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gdbplotter-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: gdbplotter-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for gdbplotter-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1928fe873412b0b5af8e247a35f72292d10064b8d929206ed7cbdbcf95904b75
MD5 6a33074066a992e94eecfa8a94098783
BLAKE2b-256 66b077d1ddf0b856d59a2a602fa12c294a75050be7962c0f3235070940ce6963

See more details on using hashes here.

Provenance

The following attestation bundles were made for gdbplotter-0.1.1-py3-none-any.whl:

Publisher: python-publish.yml on 1atabey1/gdbplotter

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page