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

components/esp_system/panic.c:58:10: fatal error: esp_gdbstub.h: No such file or directory (IDFGH-12162) #13218

Closed
3 tasks done
moefear85 opened this issue Feb 20, 2024 · 1 comment
Assignees
Labels
Resolution: NA Issue resolution is unavailable Status: Done Issue is done internally Type: Bug bugs in IDF

Comments

@moefear85
Copy link

moefear85 commented Feb 20, 2024

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.

f68c131

Operating System used.

Windows

How did you build your project?

Command line with Make

If you are using Windows, please specify command line type.

None

What is the expected behavior?

everything compiles

What is the actual behavior?

see title

Steps to reproduce.

set(COMPONENTS "main") in CMakeLists.txt, and CONFIG_ESP_SYSTEM_PANIC_GDBSTUB=y in sdkconfig

Build or installation Logs.

No response

More Information.

None

@moefear85 moefear85 added the Type: Bug bugs in IDF label Feb 20, 2024
@espressif-bot espressif-bot added the Status: Opened Issue is new label Feb 20, 2024
@github-actions github-actions bot changed the title components/esp_system/panic.c:58:10: fatal error: esp_gdbstub.h: No such file or directory components/esp_system/panic.c:58:10: fatal error: esp_gdbstub.h: No such file or directory (IDFGH-12162) Feb 20, 2024
@sudeep-mohanty
Copy link
Collaborator

Thanks for reporting the issue to us @moefear85. I can confirm that this issue is reproducible. We shall work on a fix. Thanks!

@espressif-bot espressif-bot added Status: Reviewing Issue is being reviewed and removed Status: Opened Issue is new labels Feb 20, 2024
@espressif-bot espressif-bot added Status: Done Issue is done internally Resolution: NA Issue resolution is unavailable and removed Status: Reviewing Issue is being reviewed labels Mar 7, 2024
espressif-bot pushed a commit that referenced this issue Mar 9, 2024
…fig option

This commit updates the Panic handler behavior Kconfig setting to make
the GDBStub on Panic (CONFIG_ESP_SYSTEM_PANIC_GDBSTUB) option to be only
available when esp_gdbstub is part of the component list of the build.

Closes #13218
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: NA Issue resolution is unavailable Status: Done Issue is done internally Type: Bug bugs in IDF
Projects
None yet
Development

No branches or pull requests

3 participants