feat: Upgrade gdb-xtensa-esp32-elf to 16.3#93
Merged
biggerfisch merged 7 commits intoJan 8, 2026
Conversation
Contributor
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
This was referenced Jun 24, 2025
b880bf4 to
afb00e4
Compare
afb00e4 to
85d2e9f
Compare
b670610 to
bd88215
Compare
bd88215 to
4e6092a
Compare
4c95a8a to
2008611
Compare
4e6092a to
0fd11ee
Compare
Draft
topher200
reviewed
Jan 7, 2026
Contributor
topher200
left a comment
There was a problem hiding this comment.
I reviewed and see no obvious issues, but I'm not going to Approve because I don't have enough context.
noahp
approved these changes
Jan 8, 2026
| # Set up the wrappers | ||
| cp $GDB_DIST/bin/esp-elf-gdb-wrapper $TARGET_PREFIX/bin/xtensa-esp32-elf-gdb 2> /dev/null || true | ||
| cp $GDB_DIST/bin/esp-elf-gdb-wrapper $TARGET_PREFIX/bin/xtensa-esp32s2-elf-gdb 2> /dev/null || true | ||
| mv $GDB_DIST/bin/esp-elf-gdb-wrapper $TARGET_PREFIX/bin/xtensa-esp32s3-elf-gdb 2> /dev/null || true |
Contributor
There was a problem hiding this comment.
did you confirm that these select the correct architecture (based on $1 arg to the rust wrapper i guess)? i think you can do it like this once the conda package is installed (eg to a test environment):
❯ xtensa-esp32s3-elf-gdb --batch --ex 'show environment' | rg XTENSA_GNU_CONFIG
XTENSA_GNU_CONFIG=/home/noah/.espressif/tools/xtensa-esp-elf-gdb/16.2_20250324/xtensa-esp-elf-gdb/lib/xtensa_esp32s3.so
Contributor
Author
There was a problem hiding this comment.
$ xtensa-esp32-elf-gdb --batch --ex 'show environment' | grep 'XTENSA'
XTENSA_GNU_CONFIG=/Users/avery/micromamba/envs/memfault/lib/xtensa_esp32.so
Seems to work!
Contributor
Author
There was a problem hiding this comment.
xtensa-esp32s3-elf-gdb --batch --ex 'show environment' | grep 'XTENSA'
XTENSA_GNU_CONFIG=/Users/avery/micromamba/envs/memfault/lib/xtensa_esp32s3.so
Contributor
Author
Merge activity
|
0b5bf58 to
02c6168
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Upgrades
gdb-xtensa-esp32-elfto be build from 16.3 source.This also moves the python compatibility matrix from 3.8-3.11 to 3.10-3.14 and supplies zlib 1.3 compatibility.
The custom wrappers are no longer needed as there are rust binaries build for that purpose in the build process now.
There's a few other misc changes, but they are mostly just to make things build correctly
Test Plan