fatal exception handler: Only dump "registers" from stack for fatal user exceptions

This commit is contained in:
Angus Gratton 2016-05-07 19:14:48 +10:00
parent 36886412e6
commit efedd24624
3 changed files with 13 additions and 6 deletions

View file

@ -17,6 +17,6 @@ void dump_stack(uint32_t *sp);
Probably not useful to be called in other contexts.
*/
void __attribute__((noreturn)) fatal_exception_handler(uint32_t *sp);
void __attribute__((noreturn)) fatal_exception_handler(uint32_t *sp, bool registers_saved_on_stack);
#endif