core: exception_vectors: initial esp-gdbstub support (#205)

This commit is contained in:
Vlad Ivanov 2016-09-15 09:26:38 +03:00 committed by Johan Kanflo
parent 4c78db81d8
commit 12d0da0c58
2 changed files with 47 additions and 7 deletions

View file

@ -21,5 +21,7 @@ void dump_heapinfo(void);
Probably not useful to be called in other contexts.
*/
void __attribute__((noreturn)) fatal_exception_handler(uint32_t *sp, bool registers_saved_on_stack);
void __attribute__((weak, alias("fatal_exception_handler")))
debug_exception_handler(uint32_t *sp, bool registers_saved_on_stack);
#endif