gdbstub: Mark the panic handler entry as noreturn

Fixes a warning in panic.c when this panic mode is enabled.
This commit is contained in:
Angus Gratton
2017-07-11 10:18:08 +08:00
committed by Angus Gratton
parent 9b30f66fac
commit c049cd55a6
2 changed files with 5 additions and 5 deletions

View File

@@ -17,6 +17,6 @@
#include <xtensa/config/core.h>
#include "freertos/xtensa_api.h"
void esp_gdbstub_panic_handler(XtExcFrame *frame);
void esp_gdbstub_panic_handler(XtExcFrame *frame) __attribute__((noreturn));
#endif
#endif