I'm pretty sure that in [this check](https://github.com/espressif/esp-idf/blob/b111c84f9e02b1f07614c82029deec6a4d81fcc6/components/esp_gdbstub/src/port/xtensa/gdbstub_xtensa.c#L197 ) we should be testing for `true == cp_enabled` instead of `false`. @igrr @dmitry1945 FYI