Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gdb_main: Fixed a small DEBUG_GDB regression for vFlashErase and vFlashWrite debugging #1127

Merged
merged 1 commit into from
Jul 21, 2022

Conversation

dragonmux
Copy link
Member

A small amount of fallout from #1125 - we accidentally regressed the ability to debug flash erase and write because of a nano newlibc bug whereby they don't support the size_t size modifier in their implementation of sscanf() or sprintf(). Our change to use size_t more and print with %zX therefore makes for problems.

This PR fixes that regression. This needs merging to both main and v1.8

@dragonmux dragonmux added Bug Confirmed bug Regression Bug caused by a regression labels Jul 21, 2022
@dragonmux dragonmux added this to the v1.8.2 bugfix release milestone Jul 21, 2022
@dragonmux dragonmux requested a review from esden July 21, 2022 05:42
Copy link
Member

@esden esden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@esden esden merged commit 37efd25 into main Jul 21, 2022
@dragonmux dragonmux deleted the fix/flash-command-debugging-regression branch July 21, 2022 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Confirmed bug Regression Bug caused by a regression
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants