esp32_gdbstub: fix build error with esp32-2019r1 toolchain

Fixes https://github.com/espressif/esp-idf/issues/3866
Closes https://github.com/espressif/esp-idf/issues/3834
This commit is contained in:
Mahavir Jain
2019-08-07 11:49:55 +05:30
parent 81651b47a4
commit 69ef694178
2 changed files with 6 additions and 2 deletions

View File

@@ -429,6 +429,7 @@ static inline void disableAllWdts()
TIMERG1.wdt_wprotect = 0;
}
#if CONFIG_ESP32_PANIC_PRINT_REBOOT || CONFIG_ESP32_PANIC_SILENT_REBOOT
static void esp_panic_dig_reset() __attribute__((noreturn));
static void esp_panic_dig_reset()
@@ -444,6 +445,7 @@ static void esp_panic_dig_reset()
;
}
}
#endif
static void putEntry(uint32_t pc, uint32_t sp)
{