Skip to content

feat: Upgrade gdb-xtensa-esp32-elf to 16.3#93

Merged
biggerfisch merged 7 commits into
masterfrom
avery/06-24-feat_upgrade_gdb-xtensa-esp32_to_16.2
Jan 8, 2026
Merged

feat: Upgrade gdb-xtensa-esp32-elf to 16.3#93
biggerfisch merged 7 commits into
masterfrom
avery/06-24-feat_upgrade_gdb-xtensa-esp32_to_16.2

Conversation

@biggerfisch
Copy link
Copy Markdown
Contributor

@biggerfisch biggerfisch commented Jun 24, 2025

Summary

Upgrades gdb-xtensa-esp32-elf to 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

Copy link
Copy Markdown
Contributor Author

biggerfisch commented Jun 24, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@biggerfisch biggerfisch force-pushed the avery/06-24-feat_upgrade_gdb-xtensa-esp32_to_16.2 branch 2 times, most recently from b880bf4 to afb00e4 Compare June 24, 2025 12:40
@biggerfisch biggerfisch reopened this Dec 19, 2025
@biggerfisch biggerfisch force-pushed the avery/06-24-feat_upgrade_gdb-xtensa-esp32_to_16.2 branch from afb00e4 to 85d2e9f Compare December 19, 2025 12:36
@biggerfisch biggerfisch force-pushed the avery/06-24-feat_upgrade_gdb-xtensa-esp32_to_16.2 branch from b670610 to bd88215 Compare January 7, 2026 12:16
@biggerfisch biggerfisch changed the title feat: Upgrade gdb-xtensa-esp32 to 16.2 feat: Upgrade gdb-xtensa-esp32 to 16.3 Jan 7, 2026
@biggerfisch biggerfisch force-pushed the avery/06-24-feat_upgrade_gdb-xtensa-esp32_to_16.2 branch from bd88215 to 4e6092a Compare January 7, 2026 14:25
@biggerfisch biggerfisch force-pushed the avery/06-23-feat_upgrade_gdb-multi-arch_to_16 branch from 4c95a8a to 2008611 Compare January 7, 2026 15:23
@biggerfisch biggerfisch force-pushed the avery/06-24-feat_upgrade_gdb-xtensa-esp32_to_16.2 branch from 4e6092a to 0fd11ee Compare January 7, 2026 15:23
@biggerfisch biggerfisch mentioned this pull request Jan 7, 2026
@biggerfisch biggerfisch marked this pull request as ready for review January 7, 2026 16:47
@biggerfisch biggerfisch requested review from a team and noahp as code owners January 7, 2026 16:47
@biggerfisch biggerfisch changed the title feat: Upgrade gdb-xtensa-esp32 to 16.3 feat: Upgrade gdb-xtensa-esp32-elf to 16.3 Jan 7, 2026
Copy link
Copy Markdown
Contributor

@topher200 topher200 left a comment

Choose a reason for hiding this comment

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

I reviewed and see no obvious issues, but I'm not going to Approve because I don't have enough context.

Copy link
Copy Markdown
Contributor

@noahp noahp left a comment

Choose a reason for hiding this comment

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

thanks @biggerfisch !

# 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
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

$ 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!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

xtensa-esp32s3-elf-gdb --batch --ex 'show environment' | grep 'XTENSA'
XTENSA_GNU_CONFIG=/Users/avery/micromamba/envs/memfault/lib/xtensa_esp32s3.so

Copy link
Copy Markdown
Contributor Author

biggerfisch commented Jan 8, 2026

Merge activity

  • Jan 8, 2:44 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Jan 8, 2:45 PM UTC: Graphite rebased this pull request as part of a merge.
  • Jan 8, 2:46 PM UTC: @biggerfisch merged this pull request with Graphite.

@biggerfisch biggerfisch changed the base branch from avery/06-23-feat_upgrade_gdb-multi-arch_to_16 to graphite-base/93 January 8, 2026 14:44
@biggerfisch biggerfisch changed the base branch from graphite-base/93 to master January 8, 2026 14:44
@biggerfisch biggerfisch force-pushed the avery/06-24-feat_upgrade_gdb-xtensa-esp32_to_16.2 branch from 0b5bf58 to 02c6168 Compare January 8, 2026 14:45
@biggerfisch biggerfisch merged commit 16599a8 into master Jan 8, 2026
1 check passed
@biggerfisch biggerfisch deleted the avery/06-24-feat_upgrade_gdb-xtensa-esp32_to_16.2 branch January 8, 2026 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants