Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
python -m pip install --upgrade pip
python -m pip install uv
uv sync --frozen
- name: Lint with flake8
- name: Lint with pre-commit config
run: |
# stop the build if there are Python syntax errors or undefined names
uv run pre-commit run --from-ref origin/main --to-ref HEAD
uv run pre-commit run --all-files
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
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
Expand Down Expand Up @@ -30,6 +31,7 @@ gdbplotter
```

- Run as python module (if previous method doesnt work)

```
python -m gdbplotter
```
Expand All @@ -38,6 +40,7 @@ python -m gdbplotter

```py
from gdbplotter import gdbparser

# parse gdb output and plot
```

Expand Down
1 change: 0 additions & 1 deletion src/gdbplotter/__main__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from gdbplotter.plotter_ui import main


if __name__ == "__main__":
main()
1 change: 1 addition & 0 deletions src/gdbplotter/plotter_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -901,5 +901,6 @@ def main():
app = DebugDataUI()
app.run()


if __name__ == "__main__":
main()