fix(debugging): fix ROM ELF file path used in gdbinit/symbols (IDFGH-17715)#18653
Open
olejodd10 wants to merge 1 commit into
Open
fix(debugging): fix ROM ELF file path used in gdbinit/symbols (IDFGH-17715)#18653olejodd10 wants to merge 1 commit into
olejodd10 wants to merge 1 commit into
Conversation
Add a missing separator to the ELF file path in the generated `gdbinit/symbols` file. Without this change, `gdbinit/symbols` specifies an incorrect path to target ROM ELFs.
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.
Add a missing separator to the ELF file path in the generated
gdbinit/symbolsfile. Without this change,gdbinit/symbolsspecifies an incorrect path to target ROM ELFs.Description
I just installed ESP-IDF and I'm trying to get GDB to work with my ESP32S3-based board. I'm making the assumption that what I was trying to do should succeed with the default
ESP_ROM_ELF_DIRgiven by the setup script.First I installed ESP-IDF with
eim:Sourcing the setup script assigns
ESP_ROM_ELF_DIRto this:Building
hello-world:This is the resulting
build/gdbinit/symbols:As you can see, the end of
/home/olew/.espressif/tools/esp-rom-elfs/20241011esp32s3_rev0_rom.elfis missing a forward slash.This gave me problems when running
idf.py openocd gdb:Testing
This is the
build/gdbinit/symbolsI get with my suggested change:And now GDB finds the file: