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 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.0.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.0-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gdbplotter-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 76e7bf2735632f5fbbfcf9f43ed38a75bf23b0c568b4bff98fabe968d212feac
MD5 e866a95595d506306612ba9e327de989
BLAKE2b-256 46cd08349113119b46f488db3988ea6eca98a642b7dcdc9a46be249311261b67

See more details on using hashes here.

Provenance

The following attestation bundles were made for gdbplotter-0.1.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: gdbplotter-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.7 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2401710bbc53e00b7729dace2f9abdbe76c5c0becdd29d70f768e68aba9b340c
MD5 07060f8f74d1188ccc354c33d36a6712
BLAKE2b-256 94968ae265207acfdcbddbf43f9963fa930ed05fc98c171314b8f24eadf19bb3

See more details on using hashes here.

Provenance

The following attestation bundles were made for gdbplotter-0.1.0-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