core: exception_vectors: initial esp-gdbstub support

This commit is contained in:
Vlad Ivanov 2016-08-26 15:02:20 +03:00
parent 762eced543
commit 384092d832
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