fix(esp_system): Updated the conditions for the GDBStub on Panic Kconfig 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 https://github.com/espressif/esp-idf/issues/13218
This commit is contained in:
Sudeep Mohanty
2024-02-20 12:45:45 +01:00
parent 6c1542e151
commit 33271be13b
4 changed files with 13 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ menu "ESP System Settings"
config ESP_SYSTEM_PANIC_GDBSTUB
bool "GDBStub on panic"
select ESP_GDBSTUB_ENABLED
depends on ESP_GDBSTUB_ENABLED
help
Invoke gdbstub on the serial port, allowing for gdb to attach to it to do a postmortem
of the crash.