tools: rename GDB plugin to pynuttx/nxgdb and enable PyPI packaging #15740
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Renames
tools/gdb/nuttxgdb
→tools/pynuttx/nxgdb
Establishes
pynuttx
as the root directory for future Python package developmentPrepares for publishing
nxgdb
as an installable package (pip install nxgdb
)Impact
Enables direct package import in GDB:
Simplifies dependency management via PyPI
The original method still works, allowing to import latest python script, making it easy during python script development.
Future Work
Gradually migrate other Python utilities to pynuttx and publish pynuttx as a namespace package.
Testing
Test package already published on PyPI (nxgdb)
Verified working installation flow:
qemu + GDB, now we can use
py import nxgdb
and legacysource gdbinit.py